| /netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/ |
| H A D | SourceLocation.cpp | 159 FileID FullSourceLoc::getFileID() const { in getFileID() 164 FullSourceLoc FullSourceLoc::getExpansionLoc() const { in getExpansionLoc() 166 return FullSourceLoc(SrcMgr->getExpansionLoc(*this), *SrcMgr); in getExpansionLoc() 169 FullSourceLoc FullSourceLoc::getSpellingLoc() const { in getSpellingLoc() 171 return FullSourceLoc(SrcMgr->getSpellingLoc(*this), *SrcMgr); in getSpellingLoc() 174 FullSourceLoc FullSourceLoc::getFileLoc() const { in getFileLoc() 176 return FullSourceLoc(SrcMgr->getFileLoc(*this), *SrcMgr); in getFileLoc() 179 PresumedLoc FullSourceLoc::getPresumedLoc(bool UseLineDirectives) const { in getPresumedLoc() 186 bool FullSourceLoc::isMacroArgExpansion(FullSourceLoc *StartLoc) const { in isMacroArgExpansion() 191 FullSourceLoc FullSourceLoc::getImmediateMacroCallerLoc() const { in getImmediateMacroCallerLoc() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Frontend/ |
| H A D | DiagnosticRenderer.h | 76 virtual void emitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc, 82 virtual void emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc, 86 virtual void emitCodeContext(FullSourceLoc Loc, 91 virtual void emitIncludeLocation(FullSourceLoc Loc, PresumedLoc PLoc) = 0; 92 virtual void emitImportLocation(FullSourceLoc Loc, PresumedLoc PLoc, 94 virtual void emitBuildingModuleLocation(FullSourceLoc Loc, PresumedLoc PLoc, 104 void emitIncludeStack(FullSourceLoc Loc, PresumedLoc PLoc, 106 void emitIncludeStackRecursively(FullSourceLoc Loc); 107 void emitImportStack(FullSourceLoc Loc); 108 void emitImportStackRecursively(FullSourceLoc Loc, StringRef ModuleName); [all …]
|
| H A D | TextDiagnostic.h | 76 void emitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc, 81 void emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc, 85 void emitCodeContext(FullSourceLoc Loc, DiagnosticsEngine::Level Level, in emitCodeContext() 91 void emitIncludeLocation(FullSourceLoc Loc, PresumedLoc PLoc) override; 93 void emitImportLocation(FullSourceLoc Loc, PresumedLoc PLoc, 96 void emitBuildingModuleLocation(FullSourceLoc Loc, PresumedLoc PLoc, 102 void emitSnippetAndCaret(FullSourceLoc Loc, DiagnosticsEngine::Level Level,
|
| H A D | LogDiagnosticPrinter.h | 57 FullSourceLoc LastLoc;
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/ |
| H A D | DiagnosticRenderer.cpp | 87 void DiagnosticRenderer::emitDiagnostic(FullSourceLoc Loc, in emitDiagnostic() 115 FullSourceLoc UnexpandedLoc = Loc; in emitDiagnostic() 150 emitDiagnosticMessage(FullSourceLoc(), PresumedLoc(), DiagnosticsEngine::Note, in emitBasicNote() 165 void DiagnosticRenderer::emitIncludeStack(FullSourceLoc Loc, PresumedLoc PLoc, in emitIncludeStack() 167 FullSourceLoc IncludeLoc = in emitIncludeStack() 168 PLoc.isInvalid() ? FullSourceLoc() in emitIncludeStack() 169 : FullSourceLoc(PLoc.getIncludeLoc(), Loc.getManager()); in emitIncludeStack() 190 void DiagnosticRenderer::emitIncludeStackRecursively(FullSourceLoc Loc) { in emitIncludeStackRecursively() 203 std::pair<FullSourceLoc, StringRef> Imported = Loc.getModuleImportLoc(); in emitIncludeStackRecursively() 212 FullSourceLoc(PLoc.getIncludeLoc(), Loc.getManager())); in emitIncludeStackRecursively() [all …]
|
| H A D | SerializedDiagnosticPrinter.cpp | 68 void emitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc, 73 void emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc, in emitDiagnosticLoc() 77 void emitNote(FullSourceLoc Loc, StringRef Message) override; 79 void emitCodeContext(FullSourceLoc Loc, DiagnosticsEngine::Level Level, 191 void EmitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc, 216 void AddLocToRecord(FullSourceLoc Loc, PresumedLoc PLoc, 220 void AddLocToRecord(FullSourceLoc Loc, RecordDataImpl &Record, in AddLocToRecord() 346 void SDiagsWriter::AddLocToRecord(FullSourceLoc Loc, PresumedLoc PLoc, in AddLocToRecord() 366 AddLocToRecord(FullSourceLoc(Range.getBegin(), SM), Record); in AddCharSourceRangeToRecord() 372 AddLocToRecord(FullSourceLoc(Range.getEnd(), SM), Record, TokSize); in AddCharSourceRangeToRecord() [all …]
|
| H A D | TextDiagnostic.cpp | 674 FullSourceLoc Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, in emitDiagnosticMessage() 794 void TextDiagnostic::emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc, in emitDiagnosticLoc() 884 FullSourceLoc BF(B, SM), EF(E, SM); in emitDiagnosticLoc() 898 void TextDiagnostic::emitIncludeLocation(FullSourceLoc Loc, PresumedLoc PLoc) { in emitIncludeLocation() 906 void TextDiagnostic::emitImportLocation(FullSourceLoc Loc, PresumedLoc PLoc, in emitImportLocation() 915 void TextDiagnostic::emitBuildingModuleLocation(FullSourceLoc Loc, in emitBuildingModuleLocation() 1130 FullSourceLoc Loc, DiagnosticsEngine::Level Level, in emitSnippetAndCaret()
|
| H A D | TextDiagnosticPrinter.cpp | 152 FullSourceLoc(Info.getLocation(), Info.getSourceManager()), Level, in HandleDiagnostic()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
| H A D | SourceLocation.h | 366 class FullSourceLoc : public SourceLocation { 371 FullSourceLoc() = default; 373 explicit FullSourceLoc(SourceLocation Loc, const SourceManager &SM) 390 FullSourceLoc getExpansionLoc() const; 391 FullSourceLoc getSpellingLoc() const; 392 FullSourceLoc getFileLoc() const; 394 bool isMacroArgExpansion(FullSourceLoc *StartLoc = nullptr) const; 395 FullSourceLoc getImmediateMacroCallerLoc() const; 396 std::pair<FullSourceLoc, StringRef> getModuleImportLoc() const; 432 bool isBeforeInTranslationUnitThan(FullSourceLoc Loc) const { [all …]
|
| H A D | Diagnostic.h | 1659 FullSourceLoc Loc; 1670 StringRef Message, FullSourceLoc Loc, 1679 const FullSourceLoc &getLocation() const { return Loc; } in getLocation() 1682 void setLocation(FullSourceLoc Loc) { this->Loc = Loc; } in setLocation()
|
| H A D | PlistSupport.h | 111 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager &>(SM)); in EmitLocation()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/ |
| H A D | PathDiagnostic.cpp | 171 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc(); in HandlePathDiagnostic() 234 FullSourceLoc XSL = X.getStartLocation().asLocation(); in compareControlFlow() 235 FullSourceLoc YSL = Y.getStartLocation().asLocation(); in compareControlFlow() 238 FullSourceLoc XEL = X.getEndLocation().asLocation(); in compareControlFlow() 239 FullSourceLoc YEL = Y.getEndLocation().asLocation(); in compareControlFlow() 252 FullSourceLoc X_CEL = X.callEnter.asLocation(); in compareCall() 253 FullSourceLoc Y_CEL = Y.callEnter.asLocation(); in compareCall() 256 FullSourceLoc X_CEWL = X.callEnterWithin.asLocation(); in compareCall() 257 FullSourceLoc Y_CEWL = Y.callEnterWithin.asLocation(); in compareCall() 260 FullSourceLoc X_CRL = X.callReturn.asLocation(); in compareCall() [all …]
|
| H A D | IssueHash.cpp | 136 static std::string NormalizeLine(const SourceManager &SM, const FullSourceLoc &L, in NormalizeLine() 184 std::string clang::getIssueString(const FullSourceLoc &IssueLoc, in getIssueString() 199 SmallString<32> clang::getIssueHash(const FullSourceLoc &IssueLoc, in getIssueHash()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/ |
| H A D | IssueHash.h | 15 class FullSourceLoc; variable 34 llvm::SmallString<32> getIssueHash(const FullSourceLoc &IssueLoc, 43 std::string getIssueString(const FullSourceLoc &IssueLoc,
|
| H A D | PathDiagnostic.h | 203 FullSourceLoc Loc; 209 FullSourceLoc genLocation( 340 FullSourceLoc asLocation() const { in asLocation()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/ |
| H A D | TransformActions.cpp | 65 FullSourceLoc Begin, End; 71 Begin = FullSourceLoc(srcMgr.getExpansionLoc(beginLoc), srcMgr); in CharRange() 72 End = FullSourceLoc(getLocForEndOfToken(endLoc, srcMgr, PP), srcMgr); in CharRange() 74 Begin = FullSourceLoc(srcMgr.getExpansionLoc(beginLoc), srcMgr); in CharRange() 75 End = FullSourceLoc(srcMgr.getExpansionLoc(endLoc), srcMgr); in CharRange() 106 typedef std::map<FullSourceLoc, TextsVec, FullSourceLoc::BeforeThanCompare> 516 Inserts[FullSourceLoc(loc, SM)].push_back(text); in addInsertion()
|
| H A D | ARCMT.cpp | 37 FullSourceLoc diagLoc = I->getLocation(); in clearDiagnostic() 66 FullSourceLoc diagLoc = I->getLocation(); in hasDiagnostic()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/ |
| H A D | LiteralSupport.cpp | 60 FullSourceLoc TokLoc, in MakeCharSourceRange() 79 const LangOptions &Features, FullSourceLoc TokLoc, in Diag() 94 FullSourceLoc Loc, unsigned CharWidth, in ProcessCharEscape() 277 FullSourceLoc Loc, DiagnosticsEngine *Diags, in ProcessUCNEscape() 355 FullSourceLoc Loc; in MeasureUCNEscape() 384 FullSourceLoc Loc, unsigned CharByteWidth, in EncodeUCNEscape() 1371 FullSourceLoc(Loc, PP.getSourceManager()), in CharLiteralParser() 1385 FullSourceLoc(Loc,PP.getSourceManager()), in CharLiteralParser() 1730 FullSourceLoc(StringToks[i].getLocation(), SM), in init() 1737 FullSourceLoc(StringToks[i].getLocation(), SM), in init() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CodeGenAction.cpp | 373 const FullSourceLoc 416 static FullSourceLoc ConvertBackendLocation(const llvm::SMDiagnostic &D, in ConvertBackendLocation() 440 return FullSourceLoc(NewLoc, CSM); in ConvertBackendLocation() 504 FullSourceLoc Loc; in SrcMgrDiagHandler() 556 FullSourceLoc Loc; in InlineAsmDiagHandler() 581 const FullSourceLoc BackendConsumer::getBestLocationFromDebugLoc( in getBestLocationFromDebugLoc() 606 FullSourceLoc Loc(DILoc, SourceMgr); in getBestLocationFromDebugLoc() 631 FullSourceLoc Loc; in UnsupportedDiagHandler() 668 FullSourceLoc Loc; in EmitOptimizationMessage() 853 FullSourceLoc Loc; in DiagnosticHandlerImpl()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | PlistDiagnostics.cpp | 313 FullSourceLoc L = P.getLocation().asLocation(); in ReportEvent() 399 FullSourceLoc L = P->getLocation().asLocation(); in ReportMacroExpansions() 432 FullSourceLoc L = P.getLocation().asLocation(); in ReportNote() 463 FullSourceLoc L = P.getLocation().asLocation(); in ReportPopUp() 702 FullSourceLoc L(SM.getExpansionLoc(UPDLoc.isValid() in FlushDiagnosticsImpl() 751 FullSourceLoc UFunL( in FlushDiagnosticsImpl() 761 FullSourceLoc FunL(SM.getExpansionLoc(Body->getBeginLoc()), SM); in FlushDiagnosticsImpl()
|
| H A D | HTMLDiagnostics.cpp | 252 FullSourceLoc L( in ReportDiag() 255 FullSourceLoc FunL(SMgr.getExpansionLoc(Body->getBeginLoc()), SMgr); in ReportDiag() 590 FullSourceLoc L(SMgr.getExpansionLoc(UPDLoc.isValid() in FinalizeHTML() 799 FullSourceLoc Pos = P.getLocation().asLocation(); in HandlePiece() 942 FullSourceLoc L = MP->getLocation().asLocation().getExpansionLoc(); in HandlePiece()
|
| H A D | TextDiagnostics.cpp | 70 auto reportPiece = [&](unsigned ID, FullSourceLoc Loc, StringRef String, in FlushDiagnosticsImpl()
|
| /netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/ |
| H A D | CIndexDiagnostic.cpp | 110 void emitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc, in emitDiagnosticMessage() 126 void emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc, in emitDiagnosticLoc() 130 void emitCodeContext(FullSourceLoc Loc, DiagnosticsEngine::Level Level, in emitCodeContext() 134 void emitNote(FullSourceLoc Loc, StringRef Message) override { in emitNote()
|
| /netbsd-src/external/apache2/llvm/dist/clang/docs/ |
| H A D | RAVFrontendAction.rst | 129 FullSourceLoc FullLocation = Context->getFullLoc(Declaration->getBeginLoc()); 161 FullSourceLoc FullLocation = Context->getFullLoc(Declaration->getBeginLoc());
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/ |
| H A D | FixItRewriter.cpp | 81 Diag(FullSourceLoc(), diag::warn_fixit_no_changes); in WriteFixedFiles()
|