/external/clang/lib/Basic/ |
H A D | SourceLocation.cpp | 10 // This file defines accessor methods for the FullSourceLoc class. 76 // FullSourceLoc 79 FileID FullSourceLoc::getFileID() const { 85 FullSourceLoc FullSourceLoc::getExpansionLoc() const { 87 return FullSourceLoc(SrcMgr->getExpansionLoc(*this), *SrcMgr); 90 FullSourceLoc FullSourceLoc::getSpellingLoc() const { 92 return FullSourceLoc(SrcMgr->getSpellingLoc(*this), *SrcMgr); 95 unsigned FullSourceLoc [all...] |
H A D | Diagnostic.cpp | 122 DiagStatePoints.push_back(DiagStatePoint(&DiagStates.back(), FullSourceLoc())); 151 FullSourceLoc Loc(L, *SourceMgr); 156 FullSourceLoc LastStateChangePos = DiagStatePoints.back().Loc; 175 FullSourceLoc Loc = SourceMgr? FullSourceLoc(L, *SourceMgr) : FullSourceLoc(); 176 FullSourceLoc LastStateChangePos = DiagStatePoints.back().Loc; 230 FullSourceLoc(Loc, *SourceMgr))); 941 Loc = FullSourceLoc(Info.getLocation(), Info.getSourceManager()); 956 StringRef Message, FullSourceLoc Lo [all...] |
/external/clang/include/clang/Basic/ |
H A D | SourceLocation.h | 267 class FullSourceLoc : public SourceLocation { class in namespace:clang 270 /// \brief Creates a FullSourceLoc where isValid() returns \c false. 271 explicit FullSourceLoc() : SrcMgr(0) {} function in class:clang::FullSourceLoc 273 explicit FullSourceLoc(SourceLocation Loc, const SourceManager &SM) function in class:clang::FullSourceLoc 276 /// \pre This FullSourceLoc has an associated SourceManager. 284 FullSourceLoc getExpansionLoc() const; 285 FullSourceLoc getSpellingLoc() const; 317 bool isBeforeInTranslationUnitThan(FullSourceLoc Loc) const { 324 struct BeforeThanCompare : public std::binary_function<FullSourceLoc, 325 FullSourceLoc, boo [all...] |
H A D | Diagnostic.h | 232 FullSourceLoc Loc; 233 DiagStatePoint(DiagState *State, FullSourceLoc Loc) 265 FullSourceLoc Loc(L, getSourceManager()); 1209 FullSourceLoc Loc; 1220 StringRef Message, FullSourceLoc Loc, 1230 const FullSourceLoc &getLocation() const { return Loc; } 1233 void setLocation(FullSourceLoc Loc) { this->Loc = Loc; }
|
H A D | SourceManager.h | 524 typedef ArrayRef<std::pair<std::string, FullSourceLoc> > ModuleBuildStack; 690 SmallVector<std::pair<std::string, FullSourceLoc>, 2> StoredModuleBuildStack; 728 void pushModuleBuildStack(StringRef moduleName, FullSourceLoc importLoc) {
|
/external/clang/include/clang/Frontend/ |
H A D | LogDiagnosticPrinter.h | 48 FullSourceLoc LastLoc;
|
/external/clang/unittests/Tooling/ |
H A D | TestVisitor.h | 133 const FullSourceLoc FullLocation = this->Context->getFullLoc(Location); 160 bool Matches(StringRef Name, FullSourceLoc const &Location) const { 164 bool PartiallyMatches(StringRef Name, FullSourceLoc const &Location) const { 172 bool MatchesLocation(FullSourceLoc const &Location) const { 189 void UpdateFor(StringRef Name, FullSourceLoc Location, SourceManager &SM) {
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | PathDiagnostic.cpp | 225 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc(); 286 FullSourceLoc XSL = X.getStartLocation().asLocation(); 287 FullSourceLoc YSL = Y.getStartLocation().asLocation(); 290 FullSourceLoc XEL = X.getEndLocation().asLocation(); 291 FullSourceLoc YEL = Y.getEndLocation().asLocation(); 304 FullSourceLoc X_CEL = X.callEnter.asLocation(); 305 FullSourceLoc Y_CEL = Y.callEnter.asLocation(); 308 FullSourceLoc X_CEWL = X.callEnterWithin.asLocation(); 309 FullSourceLoc Y_CEWL = Y.callEnterWithin.asLocation(); 312 FullSourceLoc X_CR [all...] |
H A D | PlistDiagnostics.cpp | 112 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager&>(SM)); 231 FullSourceLoc L = P.getLocation().asLocation(); 516 FullSourceLoc UL(SM->getExpansionLoc(UPDLoc.asLocation()), 518 FullSourceLoc UFunL(SM->getExpansionLoc( 526 FullSourceLoc L(SM->getExpansionLoc(D->getLocation().asLocation()), 528 FullSourceLoc FunL(SM->getExpansionLoc(Body->getLocStart()), *SM);
|
H A D | HTMLDiagnostics.cpp | 274 FullSourceLoc Pos = P.getLocation().asLocation(); 409 FullSourceLoc L = MP->getLocation().asLocation().getExpansionLoc();
|
/external/clang/lib/Lex/ |
H A D | LiteralSupport.cpp | 46 FullSourceLoc TokLoc, 65 const LangOptions &Features, FullSourceLoc TokLoc, 80 FullSourceLoc Loc, unsigned CharWidth, 220 FullSourceLoc Loc, DiagnosticsEngine *Diags, 298 FullSourceLoc Loc; 327 FullSourceLoc Loc, unsigned CharByteWidth, 1035 FullSourceLoc(Loc, PP.getSourceManager()), 1051 FullSourceLoc(Loc,PP.getSourceManager()), 1359 FullSourceLoc(StringToks[i].getLocation(), SM), 1366 FullSourceLoc(StringTok [all...] |
H A D | ModuleMap.cpp | 677 Module *ModuleMap::inferModuleFromLocation(FullSourceLoc Loc) { 682 FullSourceLoc ExpansionLoc = Loc.getExpansionLoc();
|
/external/clang/lib/ARCMigrate/ |
H A D | TransformActions.cpp | 66 FullSourceLoc Begin, End; 72 Begin = FullSourceLoc(srcMgr.getExpansionLoc(beginLoc), srcMgr); 73 End = FullSourceLoc(getLocForEndOfToken(endLoc, srcMgr, PP), srcMgr); 75 Begin = FullSourceLoc(srcMgr.getExpansionLoc(beginLoc), srcMgr); 76 End = FullSourceLoc(srcMgr.getExpansionLoc(endLoc), srcMgr); 107 typedef std::map<FullSourceLoc, TextsVec, FullSourceLoc::BeforeThanCompare> 516 Inserts[FullSourceLoc(loc, SM)].push_back(text);
|
H A D | PlistReporter.cpp | 50 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager&>(SM));
|
H A D | ARCMT.cpp | 35 FullSourceLoc diagLoc = I->getLocation(); 64 FullSourceLoc diagLoc = I->getLocation();
|
/external/clang/lib/CodeGen/ |
H A D | CodeGenAction.cpp | 213 /// buffer to be a valid FullSourceLoc. 214 static FullSourceLoc ConvertBackendLocation(const llvm::SMDiagnostic &D, 236 return FullSourceLoc(NewLoc, CSM); 254 FullSourceLoc Loc;
|
/external/clang/include/clang/Lex/ |
H A D | ModuleMap.h | 320 Module *inferModuleFromLocation(FullSourceLoc Loc);
|
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
H A D | PathDiagnostic.h | 134 FullSourceLoc Loc; 143 FullSourceLoc 265 FullSourceLoc asLocation() const {
|
/external/chromium_org/tools/clang/plugins/ |
H A D | FindBadConstructs.cpp | 254 FullSourceLoc full_loc(loc, manager); 308 FullSourceLoc loc(type_info_range.getBegin(), manager);
|
H A D | ChromeClassTester.cpp | 101 FullSourceLoc full(loc, instance().getSourceManager());
|
/external/clang/lib/Rewrite/Frontend/ |
H A D | FixItRewriter.cpp | 78 Diag(FullSourceLoc(), diag::warn_fixit_no_changes);
|
H A D | InclusionRewriter.cpp | 149 LastInsertedFileChange->second.Id = FullSourceLoc(Loc, SM).getFileID();
|
/external/clang/include/clang/AST/ |
H A D | ASTContext.h | 489 FullSourceLoc getFullLoc(SourceLocation Loc) const { 490 return FullSourceLoc(Loc,SourceMgr);
|
/external/clang/lib/Frontend/ |
H A D | ASTUnit.cpp | 1089 FullSourceLoc Loc(StoredDiagnostics[I].getLocation(), SM); 2611 FullSourceLoc Loc(L, SrcMgr);
|
/external/chromium_org/v8/tools/gcmole/ |
H A D | gcmole.cc | 1179 d_.Report(clang::FullSourceLoc(expr->getExprLoc(), sm_),
|