| /minix3/external/bsd/llvm/dist/clang/lib/Basic/ |
| H A D | SourceLocation.cpp | 80 FileID FullSourceLoc::getFileID() const { in getFileID() 86 FullSourceLoc FullSourceLoc::getExpansionLoc() const { in getExpansionLoc() 88 return FullSourceLoc(SrcMgr->getExpansionLoc(*this), *SrcMgr); in getExpansionLoc() 91 FullSourceLoc FullSourceLoc::getSpellingLoc() const { in getSpellingLoc() 93 return FullSourceLoc(SrcMgr->getSpellingLoc(*this), *SrcMgr); in getSpellingLoc() 96 unsigned FullSourceLoc::getExpansionLineNumber(bool *Invalid) const { in getExpansionLineNumber() 101 unsigned FullSourceLoc::getExpansionColumnNumber(bool *Invalid) const { in getExpansionColumnNumber() 106 unsigned FullSourceLoc::getSpellingLineNumber(bool *Invalid) const { in getSpellingLineNumber() 111 unsigned FullSourceLoc::getSpellingColumnNumber(bool *Invalid) const { in getSpellingColumnNumber() 116 bool FullSourceLoc::isInSystemHeader() const { in isInSystemHeader() [all …]
|
| H A D | Diagnostic.cpp | 116 DiagStatePoints.push_back(DiagStatePoint(&DiagStates.back(), FullSourceLoc())); in Reset() 145 FullSourceLoc Loc(L, *SourceMgr); in GetDiagStatePointForLoc() 150 FullSourceLoc LastStateChangePos = DiagStatePoints.back().Loc; in GetDiagStatePointForLoc() 169 FullSourceLoc Loc = SourceMgr? FullSourceLoc(L, *SourceMgr) : FullSourceLoc(); in setSeverity() 170 FullSourceLoc LastStateChangePos = DiagStatePoints.back().Loc; in setSeverity() 224 FullSourceLoc(Loc, *SourceMgr))); in setSeverity() 947 Loc = FullSourceLoc(Info.getLocation(), Info.getSourceManager()); in StoredDiagnostic() 962 StringRef Message, FullSourceLoc Loc, in StoredDiagnostic()
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/Basic/ |
| H A D | SourceLocation.h | 267 class FullSourceLoc : public SourceLocation { 271 explicit FullSourceLoc() : SrcMgr(nullptr) {} in FullSourceLoc() function 273 explicit FullSourceLoc(SourceLocation Loc, const SourceManager &SM) in FullSourceLoc() function 284 FullSourceLoc getExpansionLoc() const; 285 FullSourceLoc getSpellingLoc() const; 316 bool isBeforeInTranslationUnitThan(FullSourceLoc Loc) const { in isBeforeInTranslationUnitThan() 323 struct BeforeThanCompare : public std::binary_function<FullSourceLoc, 324 FullSourceLoc, bool> { 325 bool operator()(const FullSourceLoc& lhs, const FullSourceLoc& rhs) const { in operator() 336 operator==(const FullSourceLoc &LHS, const FullSourceLoc &RHS) { [all …]
|
| H A D | Diagnostic.h | 232 FullSourceLoc Loc; 233 DiagStatePoint(DiagState *State, FullSourceLoc Loc) in DiagStatePoint() 265 FullSourceLoc Loc(L, getSourceManager()); in PushDiagStatePoint() 1246 FullSourceLoc Loc; 1257 StringRef Message, FullSourceLoc Loc, 1267 const FullSourceLoc &getLocation() const { return Loc; } in getLocation() 1270 void setLocation(FullSourceLoc Loc) { this->Loc = Loc; } in setLocation()
|
| H A D | PlistSupport.h | 95 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager &>(SM));
|
| H A D | SourceManager.h | 539 typedef ArrayRef<std::pair<std::string, FullSourceLoc> > ModuleBuildStack; 705 SmallVector<std::pair<std::string, FullSourceLoc>, 2> StoredModuleBuildStack; 744 void pushModuleBuildStack(StringRef moduleName, FullSourceLoc importLoc) { in pushModuleBuildStack()
|
| /minix3/external/bsd/llvm/dist/clang/unittests/Tooling/ |
| H A D | TestVisitor.h | 150 const FullSourceLoc FullLocation = this->Context->getFullLoc(Location); in Match() 177 bool Matches(StringRef Name, FullSourceLoc const &Location) const { in Matches() 181 bool PartiallyMatches(StringRef Name, FullSourceLoc const &Location) const { in PartiallyMatches() 189 bool MatchesLocation(FullSourceLoc const &Location) const { in MatchesLocation() 206 void UpdateFor(StringRef Name, FullSourceLoc Location, SourceManager &SM) { in UpdateFor()
|
| /minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | PathDiagnostic.cpp | 225 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc(); in HandlePathDiagnostic() 286 FullSourceLoc XSL = X.getStartLocation().asLocation(); in compareControlFlow() 287 FullSourceLoc YSL = Y.getStartLocation().asLocation(); in compareControlFlow() 290 FullSourceLoc XEL = X.getEndLocation().asLocation(); in compareControlFlow() 291 FullSourceLoc YEL = Y.getEndLocation().asLocation(); in compareControlFlow() 304 FullSourceLoc X_CEL = X.callEnter.asLocation(); in compareCall() 305 FullSourceLoc Y_CEL = Y.callEnter.asLocation(); in compareCall() 308 FullSourceLoc X_CEWL = X.callEnterWithin.asLocation(); in compareCall() 309 FullSourceLoc Y_CEWL = Y.callEnterWithin.asLocation(); in compareCall() 312 FullSourceLoc X_CRL = X.callReturn.asLocation(); in compareCall() [all …]
|
| H A D | PlistDiagnostics.cpp | 154 FullSourceLoc L = P.getLocation().asLocation(); in ReportEvent() 432 FullSourceLoc UL(SM->getExpansionLoc(UPDLoc.asLocation()), in FlushDiagnosticsImpl() 434 FullSourceLoc UFunL(SM->getExpansionLoc( in FlushDiagnosticsImpl() 442 FullSourceLoc L(SM->getExpansionLoc(D->getLocation().asLocation()), in FlushDiagnosticsImpl() 444 FullSourceLoc FunL(SM->getExpansionLoc(Body->getLocStart()), *SM); in FlushDiagnosticsImpl()
|
| H A D | HTMLDiagnostics.cpp | 144 FullSourceLoc L( in ReportDiag() 147 FullSourceLoc FunL(SMgr.getExpansionLoc(Body->getLocStart()), SMgr); in ReportDiag() 335 FullSourceLoc Pos = P.getLocation().asLocation(); in HandlePiece() 470 FullSourceLoc L = MP->getLocation().asLocation().getExpansionLoc(); in HandlePiece()
|
| /minix3/external/bsd/llvm/dist/clang/lib/ARCMigrate/ |
| H A D | TransformActions.cpp | 66 FullSourceLoc Begin, End; 72 Begin = FullSourceLoc(srcMgr.getExpansionLoc(beginLoc), srcMgr); in CharRange() 73 End = FullSourceLoc(getLocForEndOfToken(endLoc, srcMgr, PP), srcMgr); in CharRange() 75 Begin = FullSourceLoc(srcMgr.getExpansionLoc(beginLoc), srcMgr); in CharRange() 76 End = FullSourceLoc(srcMgr.getExpansionLoc(endLoc), srcMgr); in CharRange() 107 typedef std::map<FullSourceLoc, TextsVec, FullSourceLoc::BeforeThanCompare> 516 Inserts[FullSourceLoc(loc, SM)].push_back(text); in addInsertion()
|
| H A D | ARCMT.cpp | 35 FullSourceLoc diagLoc = I->getLocation(); in clearDiagnostic() 64 FullSourceLoc diagLoc = I->getLocation(); in hasDiagnostic()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Lex/ |
| H A D | LiteralSupport.cpp | 47 FullSourceLoc TokLoc, in MakeCharSourceRange() 66 const LangOptions &Features, FullSourceLoc TokLoc, in Diag() 81 FullSourceLoc Loc, unsigned CharWidth, in ProcessCharEscape() 263 FullSourceLoc Loc, DiagnosticsEngine *Diags, in ProcessUCNEscape() 341 FullSourceLoc Loc; in MeasureUCNEscape() 370 FullSourceLoc Loc, unsigned CharByteWidth, in EncodeUCNEscape() 1138 FullSourceLoc(Loc, PP.getSourceManager()), in CharLiteralParser() 1152 FullSourceLoc(Loc,PP.getSourceManager()), in CharLiteralParser() 1472 FullSourceLoc(StringToks[i].getLocation(), SM), in init() 1479 FullSourceLoc(StringToks[i].getLocation(), SM), in init() [all …]
|
| H A D | ModuleMap.cpp | 899 Module *ModuleMap::inferModuleFromLocation(FullSourceLoc Loc) { in inferModuleFromLocation() 904 FullSourceLoc ExpansionLoc = Loc.getExpansionLoc(); in inferModuleFromLocation()
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/Frontend/ |
| H A D | LogDiagnosticPrinter.h | 58 FullSourceLoc LastLoc;
|
| /minix3/external/bsd/llvm/dist/clang/lib/CodeGen/ |
| H A D | CodeGenAction.cpp | 261 static FullSourceLoc ConvertBackendLocation(const llvm::SMDiagnostic &D, in ConvertBackendLocation() 285 return FullSourceLoc(NewLoc, CSM); in ConvertBackendLocation() 303 FullSourceLoc Loc; in InlineAsmDiagHandler2() 399 FullSourceLoc Loc; in InlineAsmDiagHandler() 445 FullSourceLoc Loc(DILoc, SourceMgr); in EmitOptimizationMessage() 565 FullSourceLoc Loc; in DiagnosticHandlerImpl()
|
| /minix3/external/bsd/llvm/dist/clang/docs/ |
| H A D | RAVFrontendAction.rst | 131 FullSourceLoc FullLocation = Context->getFullLoc(Declaration->getLocStart()); 163 FullSourceLoc FullLocation = Context->getFullLoc(Declaration->getLocStart());
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
| H A D | PathDiagnostic.h | 136 FullSourceLoc Loc; 145 FullSourceLoc genLocation( 271 FullSourceLoc asLocation() const { in asLocation()
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/Lex/ |
| H A D | ModuleMap.h | 433 Module *inferModuleFromLocation(FullSourceLoc Loc);
|
| /minix3/external/bsd/llvm/dist/clang/lib/Frontend/Rewrite/ |
| H A D | FixItRewriter.cpp | 77 Diag(FullSourceLoc(), diag::warn_fixit_no_changes); in WriteFixedFiles()
|
| H A D | InclusionRewriter.cpp | 149 LastInsertedFileChange->second.Id = FullSourceLoc(Loc, SM).getFileID(); in FileChanged()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Frontend/ |
| H A D | FrontendActions.cpp | 287 FullSourceLoc(SourceLocation(), SourceMgr)); in BeginSourceFileAction()
|
| H A D | ASTUnit.cpp | 1020 FullSourceLoc Loc(StoredDiagnostics[I].getLocation(), SM); in checkAndSanitizeDiags() 2531 FullSourceLoc Loc(L, SrcMgr); in TranslateStoredDiagnostics()
|
| H A D | CompilerInstance.cpp | 935 FullSourceLoc(ImportLoc, ImportingInstance.getSourceManager())); in compileModuleImpl()
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/AST/ |
| H A D | ASTContext.h | 529 FullSourceLoc getFullLoc(SourceLocation Loc) const { in getFullLoc() 530 return FullSourceLoc(Loc,SourceMgr); in getFullLoc()
|