/external/clang/lib/ARCMigrate/ |
TransformActions.cpp | 46 SourceLocation Loc; 134 void insert(SourceLocation loc, StringRef text); 135 void insertAfterToken(SourceLocation loc, StringRef text); 141 void replaceText(SourceLocation loc, StringRef text, 151 bool canInsert(SourceLocation loc); 152 bool canInsertAfterToken(SourceLocation loc); 155 bool canReplaceText(SourceLocation loc, StringRef text); 157 void commitInsert(SourceLocation loc, StringRef text); 158 void commitInsertAfterToken(SourceLocation loc, StringRef text); 162 void commitReplaceText(SourceLocation loc, StringRef text 559 SourceLocation loc = I->first; local [all...] |
/external/clang/lib/AST/ |
CommentParser.cpp | 123 SourceLocation Loc, 127 Result.setLocation(Loc); 154 SourceLocation Loc = getSourceLocation(); 174 formTokenWithChars(Tok, Loc, WordBegin, Length, Text); 187 SourceLocation Loc = getSourceLocation(); 219 formTokenWithChars(Tok, Loc, WordBegin, 533 SourceLocation Loc; 535 Loc = Tok.getLocation(); 540 Loc,
|
/external/clang/lib/Basic/ |
Diagnostic.cpp | 82 void DiagnosticsEngine::pushMappings(SourceLocation Loc) { 86 bool DiagnosticsEngine::popMappings(SourceLocation Loc) { 92 PushDiagStatePoint(DiagStateOnPushStack.back(), Loc); 145 assert(DiagStatePoints.front().Loc.isInvalid() && 151 FullSourceLoc Loc(L, *SourceMgr); 152 if (Loc.isInvalid()) 156 FullSourceLoc LastStateChangePos = DiagStatePoints.back().Loc; 158 Loc.isBeforeInTranslationUnitThan(LastStateChangePos)) 160 DiagStatePoint(0, Loc)); 175 FullSourceLoc Loc = SourceMgr? FullSourceLoc(L, *SourceMgr) : FullSourceLoc() [all...] |
/external/clang/lib/Frontend/ |
VerifyDiagnosticConsumer.cpp | 63 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason, 66 Verify.UpdateParsedFileStatus(SM, SM.getFileID(Loc), 126 SourceLocation Loc = Info.getLocation(); 127 if (Loc.isValid()) { 130 Loc = SrcManager->getExpansionLoc(Loc); 131 FileID FID = SrcManager->getFileID(Loc); 498 size_t loc = C.find('\\'); 499 if (loc == StringRef::npos) { 507 for (size_t last = 0;; loc = C.find('\\', last)) [all...] |
/external/clang/lib/Lex/ |
Pragma.cpp | [all...] |
/external/clang/lib/Parse/ |
ParseTemplate.cpp | [all...] |
/external/clang/lib/Sema/ |
Sema.cpp | 204 bool Sema::makeUnavailableInSystemHeader(SourceLocation loc, 215 if (!Context.getSourceManager().isInSystemHeader(loc)) 221 fn->addAttr(new (Context) UnavailableAttr(loc, Context, msg)); 943 SourceLocation loc = locref; local [all...] |
SemaLambda.cpp | 437 FieldDecl *Sema::checkInitCapture(SourceLocation Loc, bool ByRef, 446 TLB.pushTypeSpec(DeductType).setNameLoc(Loc); 448 DeductType = BuildReferenceType(DeductType, true, Loc, Id); 450 TLB.push<ReferenceTypeLoc>(DeductType).setSigilLoc(Loc); 454 InitializationKind InitKind = InitializationKind::CreateDefault(Loc); 460 Loc, Parens->getLParenLoc(), Parens->getRParenLoc()); 480 InitKind = InitializationKind::CreateDirectList(Loc); 482 InitKind = InitializationKind::CreateCopy(Loc, Loc); 486 Diag(Loc, diag::err_init_capture_deduction_failure_from_init_list [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
CallEvent.cpp | 182 SourceLocation Loc = getSourceRange().getBegin(); 184 return PreImplicitCall(D, Loc, getLocationContext(), Tag); 185 return PostImplicitCall(D, Loc, getLocationContext(), Tag); 285 Loc ParamLoc = SVB.makeLoc(MRMgr.getVarRegion(ParamDecl, CalleeCtx)); 408 assert(ThisVal.isUnknownOrUndef() || ThisVal.getAs<Loc>()); 486 Loc ThisLoc = SVB.getCXXThis(MD, CalleeCtx); 554 Values.push_back(loc::MemRegionVal(R)); 568 return loc::MemRegionVal(static_cast<const MemRegion *>(Data)); 574 Values.push_back(loc::MemRegionVal(static_cast<const MemRegion *>(Data))); 586 Loc ThisLoc = SVB.getCXXThis(MD, CalleeCtx) [all...] |
CheckerManager.cpp | 265 SVal Loc; 275 SVal loc, bool isLoad, const Stmt *NodeEx, 278 : Checkers(checkers), Loc(loc), IsLoad(isLoad), NodeEx(NodeEx), 290 checkFn(Loc, IsLoad, BoundEx, C); 312 SVal Loc; 322 SVal loc, SVal val, const Stmt *s, ExprEngine &eng, 324 : Checkers(checkers), Loc(loc), Val(val), S(s), Eng(eng), PP(pp) {} 331 checkFn(Loc, Val, S, C) [all...] |
/external/clang/lib/StaticAnalyzer/Frontend/ |
AnalysisConsumer.cpp | 229 PresumedLoc Loc = SM.getPresumedLoc(D->getLocation()); 230 if (Loc.isValid()) { 250 llvm::errs() << ": " << Loc.getFilename(); 256 llvm::errs() << ' ' << "block(line:" << Loc.getLine() << ",col:" 257 << Loc.getColumn() << '\n';
|
/external/clang/tools/libclang/ |
CXCursor.cpp | 519 SourceLocation Loc, 522 void *RawLoc = Loc.getPtrEncoding(); 535 SourceLocation Loc, 538 void *RawLoc = Loc.getPtrEncoding(); 551 SourceLocation Loc, 557 void *RawLoc = Loc.getPtrEncoding(); 569 CXCursor cxcursor::MakeCursorTypeRef(const TypeDecl *Type, SourceLocation Loc, 572 void *RawLoc = Loc.getPtrEncoding(); 585 SourceLocation Loc, 588 void *RawLoc = Loc.getPtrEncoding() [all...] |
IndexingContext.cpp | 28 SourceLocation Loc = *LI; 33 MakeCursorObjCProtocolRef(PD, Loc, IdxCtx.CXTU), 34 IdxCtx.getIndexLoc(Loc) }; 38 IdxCtx.markEntityOccurrenceInFile(PD, Loc); 51 : AttrInfo(CXIdxAttr_IBOutletCollection, other.cursor, other.loc, other.A) { 73 CXIdxLoc Loc = IdxCtx.getIndexLoc(A->getLocation()); 76 Attrs.push_back(AttrInfo(CXIdxAttr_Unexposed, C, Loc, A)); 79 Attrs.push_back(AttrInfo(CXIdxAttr_IBAction, C, Loc, A)); 82 Attrs.push_back(AttrInfo(CXIdxAttr_IBOutlet, C, Loc, A)); 85 IBCollAttrs.push_back(IBOutletCollectionInfo(C, Loc, A)) [all...] |
/external/llvm/lib/Analysis/ |
MemoryDependenceAnalysis.cpp | 113 /// location, fill in Loc with the details, otherwise set Loc.Ptr to null. 118 AliasAnalysis::Location &Loc, 122 Loc = AA->getLocation(LI); 126 Loc = AA->getLocation(LI); 129 Loc = AliasAnalysis::Location(); 135 Loc = AA->getLocation(SI); 139 Loc = AA->getLocation(SI); 142 Loc = AliasAnalysis::Location(); 147 Loc = AA->getLocation(V) [all...] |
/external/llvm/lib/CodeGen/ |
LiveDebugVariables.cpp | 178 /// getLocationNo - Return the location number that matches Loc. 207 // Add a singular (Idx,Idx) -> Loc mapping. 372 OS << " Loc" << i << '='; 449 // DBG_VALUE loc, offset, variable 645 const MachineOperand &Loc = locations[LocNo]; 647 if (!Loc.isReg()) { 653 if (TargetRegisterInfo::isVirtualRegister(Loc.getReg())) { 656 if (LIS.hasInterval(Loc.getReg())) { 657 LI = &LIS.getInterval(Loc.getReg()); 668 unsigned Unit = *MCRegUnitIterator(Loc.getReg(), &TRI) [all...] |
TailDuplication.cpp | 823 MachineBasicBlock::iterator Loc = PredBB->getFirstTerminator(); 825 Copies.push_back(BuildMI(*PredBB, Loc, DebugLoc(), 884 MachineBasicBlock::iterator Loc = PrevBB->getFirstTerminator(); 886 Copies.push_back(BuildMI(*PrevBB, Loc, DebugLoc(), [all...] |
/external/llvm/lib/MC/MCParser/ |
DarwinAsmParser.cpp | 501 SMLoc Loc = getLexer().getLoc(); 505 return Error(Loc, "expected identifier after '.section' directive"); 534 return Error(Loc, ErrorStr.c_str()); 547 bool DarwinAsmParser::ParseDirectivePushSection(StringRef S, SMLoc Loc) { 550 if (ParseDirectiveSection(S, Loc)) { 793 SMLoc Loc = getParser().getTok().getLoc(); 802 return Error(Loc, "unknown region type in '.data_region' directive");
|
/external/llvm/lib/Transforms/Utils/ |
InlineFunction.cpp | [all...] |
/external/llvm/tools/llvm-stress/ |
llvm-stress.cpp | 671 BasicBlock::iterator Loc= Instr; 672 BasicBlock *Next = Curr->splitBasicBlock(Loc, "CF");
|
/external/llvm/utils/FileCheck/ |
FileCheck.cpp | 593 /// Loc - The location in the match file that the check string was specified. 594 SMLoc Loc; 610 : Pat(P), Loc(L), IsCheckNext(isCheckNext), IsCheckLabel(isCheckLabel) {} 810 static void PrintCheckFailed(const SourceMgr &SM, const SMLoc &Loc, 814 SM.PrintMessage(Loc, SourceMgr::DK_Error, 831 PrintCheckFailed(SM, CheckStr.Loc, CheckStr.Pat, Buffer, VariableTable); 907 SM.PrintMessage(Loc, SourceMgr::DK_Error, CheckPrefix+ [all...] |
/ndk/tests/device/test-stlport_shared-exception/jni/ |
unroll1.cpp | 17 class Loc; 74 typedef Loc AskDomain_t; 117 struct DomainTraits<Loc> 121 typedef Loc Domain_t; 122 typedef Loc AskDomain_t; 123 typedef Loc MultResult_t; 145 class Loc : public Domain<DomainTraits<Loc> > 148 explicit Loc(const int &a) : Domain<DomainTraits<Loc> >() { [all...] |
/ndk/tests/device/test-stlport_static-exception/jni/ |
unroll1.cpp | 17 class Loc; 74 typedef Loc AskDomain_t; 117 struct DomainTraits<Loc> 121 typedef Loc Domain_t; 122 typedef Loc AskDomain_t; 123 typedef Loc MultResult_t; 145 class Loc : public Domain<DomainTraits<Loc> > 148 explicit Loc(const int &a) : Domain<DomainTraits<Loc> >() { [all...] |
/external/clang/include/clang/AST/ |
Comment.h | 56 SourceLocation Loc; 169 Loc = L; 187 Loc(LocBegin), Range(SourceRange(LocBegin, LocEnd)) { 213 SourceLocation getLocation() const LLVM_READONLY { return Loc; }
|
/external/clang/include/clang/Sema/ |
Overload.h | 705 SourceLocation Loc; 716 OverloadCandidateSet(SourceLocation Loc) : Loc(Loc), NumInlineSequences(0){} 719 SourceLocation getLocation() const { return Loc; } 765 OverloadingResult BestViableFunction(Sema &S, SourceLocation Loc, 773 SourceLocation Loc = SourceLocation()); 779 SourceLocation Loc,
|
ScopeInfo.h | 65 SourceLocation Loc; 68 PossiblyUnreachableDiag(const PartialDiagnostic &PD, SourceLocation Loc, 70 : PD(PD), Loc(Loc), stmt(stmt) {} 366 SourceLocation Loc; 377 SourceLocation Loc, SourceLocation EllipsisLoc, 382 Loc(Loc), EllipsisLoc(EllipsisLoc), CaptureType(CaptureType) {} 385 Capture(IsThisCapture, bool IsNested, SourceLocation Loc, 389 Loc(Loc), EllipsisLoc(), CaptureType(CaptureType) { [all...] |