/freebsd-10-stable/contrib/llvm/tools/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...] |
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Basic/ |
H A D | SourceLocation.h | 267 class FullSourceLoc : public SourceLocation { class in class:clang::SourceLocation 270 /// \brief Creates a FullSourceLoc where isValid() returns \c false. 271 explicit FullSourceLoc() : SrcMgr(0) {} function in class:clang::SourceLocation::FullSourceLoc 273 explicit FullSourceLoc(SourceLocation Loc, const SourceManager &SM) function in class:clang::SourceLocation::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 | 231 FullSourceLoc Loc; 232 DiagStatePoint(DiagState *State, FullSourceLoc Loc) 264 FullSourceLoc Loc(L, getSourceManager()); 1208 FullSourceLoc Loc; 1219 StringRef Message, FullSourceLoc Loc, 1229 const FullSourceLoc &getLocation() const { return Loc; } 1232 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) {
|
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Frontend/ |
H A D | LogDiagnosticPrinter.h | 48 FullSourceLoc LastLoc;
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
H A D | PathDiagnostic.cpp | 224 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc(); 285 FullSourceLoc XSL = X.getStartLocation().asLocation(); 286 FullSourceLoc YSL = Y.getStartLocation().asLocation(); 289 FullSourceLoc XEL = X.getEndLocation().asLocation(); 290 FullSourceLoc YEL = Y.getEndLocation().asLocation(); 303 FullSourceLoc X_CEL = X.callEnter.asLocation(); 304 FullSourceLoc Y_CEL = Y.callEnter.asLocation(); 307 FullSourceLoc X_CEWL = X.callEnterWithin.asLocation(); 308 FullSourceLoc Y_CEWL = Y.callEnterWithin.asLocation(); 311 FullSourceLoc X_CR [all...] |
H A D | PlistDiagnostics.cpp | 111 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager&>(SM)); 230 FullSourceLoc L = P.getLocation().asLocation(); 514 FullSourceLoc UL(SM->getExpansionLoc(UPDLoc.asLocation()), 516 FullSourceLoc UFunL(SM->getExpansionLoc( 524 FullSourceLoc L(SM->getExpansionLoc(D->getLocation().asLocation()), 526 FullSourceLoc FunL(SM->getExpansionLoc(Body->getLocStart()), *SM);
|
H A D | HTMLDiagnostics.cpp | 278 FullSourceLoc Pos = P.getLocation().asLocation(); 413 FullSourceLoc L = MP->getLocation().asLocation().getExpansionLoc();
|
H A D | BugReporterVisitors.cpp | 1584 FullSourceLoc Loc = BR.getLocation(SM).asLocation();
|
/freebsd-10-stable/contrib/llvm/tools/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, 1080 FullSourceLoc(Loc, PP.getSourceManager()), 1094 FullSourceLoc(Loc,PP.getSourceManager()), 1403 FullSourceLoc(StringToks[i].getLocation(), SM), 1410 FullSourceLoc(StringTok [all...] |
H A D | ModuleMap.cpp | 731 Module *ModuleMap::inferModuleFromLocation(FullSourceLoc Loc) { 736 FullSourceLoc ExpansionLoc = Loc.getExpansionLoc();
|
/freebsd-10-stable/contrib/llvm/tools/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();
|
/freebsd-10-stable/contrib/llvm/tools/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;
|
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Lex/ |
H A D | ModuleMap.h | 342 Module *inferModuleFromLocation(FullSourceLoc Loc);
|
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
H A D | PathDiagnostic.h | 134 FullSourceLoc Loc; 143 FullSourceLoc 265 FullSourceLoc asLocation() const {
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Rewrite/Frontend/ |
H A D | FixItRewriter.cpp | 78 Diag(FullSourceLoc(), diag::warn_fixit_no_changes);
|
H A D | InclusionRewriter.cpp | 153 LastInsertedFileChange->second.Id = FullSourceLoc(Loc, SM).getFileID();
|
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | ASTContext.h | 509 FullSourceLoc getFullLoc(SourceLocation Loc) const { 510 return FullSourceLoc(Loc,SourceMgr);
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Frontend/ |
H A D | ASTUnit.cpp | 1102 FullSourceLoc Loc(StoredDiagnostics[I].getLocation(), SM); 2624 FullSourceLoc Loc(L, SrcMgr);
|
H A D | CompilerInstance.cpp | 878 FullSourceLoc(ImportLoc, ImportingInstance.getSourceManager()));
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaType.cpp | 2412 FullSourceLoc Comma(D.getCommaLoc(), S.SourceMgr); 2413 FullSourceLoc Name(D.getIdentifierLoc(), S.SourceMgr);
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 2234 = ModMap.inferModuleFromLocation(FullSourceLoc(I->getLocation(), 2478 = ModMap.inferModuleFromLocation(FullSourceLoc(Loc,PP->getSourceManager()));
|