| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | SourceMgr.h | 75 SMLoc IncludeLoc; member 139 return Buffers[i - 1].IncludeLoc; in getParentIncludeLoc() 145 SMLoc IncludeLoc) { in AddNewSourceBuffer() argument 148 NB.IncludeLoc = IncludeLoc; in AddNewSourceBuffer() 166 Buffers[OldNumBuffers].IncludeLoc = MainBufferIncludeLoc; 175 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, 252 void PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const;
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | SourceMgr.cpp | 41 SMLoc IncludeLoc, in AddIncludeFile() argument 48 return AddNewSourceBuffer(std::move(*NewBufOrErr), IncludeLoc); in AddIncludeFile() 168 IncludeLoc(Other.IncludeLoc) { in SrcBuffer() 257 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { in PrintIncludeStack() argument 258 if (IncludeLoc == SMLoc()) in PrintIncludeStack() 261 unsigned CurBuf = FindBufferContainingLoc(IncludeLoc); in PrintIncludeStack() 264 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintIncludeStack() 267 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; in PrintIncludeStack() 342 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintMessage()
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | HeaderSearch.cpp | 412 Diags.Report(IncludeLoc, diag::err_cannot_open_file) in getFileAndSuggestModule() 454 return HS.getFileAndSuggestModule(TmpDir, IncludeLoc, getDir(), in LookupFile() 503 HS.noteLookupUsage(HS.searchDirIdx(*this), IncludeLoc); in LookupFile() 735 SourceLocation IncludeLoc) { in checkMSVCHeaderSearch() argument 819 << FixItHint::CreateReplacement(IncludeLoc, NewInclude); in diagnoseFrameworkInclude() 837 StringRef Filename, SourceLocation IncludeLoc, bool isAngled, in LookupFile() argument 871 return getFileAndSuggestModule(Filename, IncludeLoc, nullptr, in LookupFile() 941 diagnoseFrameworkInclude(Diags, IncludeLoc, in LookupFile() 1088 cacheLookupSuccess(CacheLookup, It, IncludeLoc); in LookupFile() 1112 IncludeLoc)) { in LookupFile() [all …]
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | DiagnosticRenderer.cpp | 167 FullSourceLoc IncludeLoc = in emitIncludeStack() local 172 if (LastIncludeLoc == IncludeLoc) in emitIncludeStack() 175 LastIncludeLoc = IncludeLoc; in emitIncludeStack() 180 if (IncludeLoc.isValid()) in emitIncludeStack() 181 emitIncludeStackRecursively(IncludeLoc); in emitIncludeStack()
|
| H A D | PrintPreprocessedOutput.cpp | 339 SourceLocation IncludeLoc = UserLoc.getIncludeLoc(); in FileChanged() local 340 if (IncludeLoc.isValid()) in FileChanged() 341 MoveToLine(IncludeLoc, /*RequireStartOfLine=*/false); in FileChanged()
|
| /llvm-project-15.0.7/clang/include/clang/Lex/ |
| H A D | HeaderSearch.h | 471 StringRef Filename, SourceLocation IncludeLoc, bool isAngled, 759 getFileAndSuggestModule(StringRef FileName, SourceLocation IncludeLoc, 768 SourceLocation IncludeLoc); 772 void noteLookupUsage(unsigned HitIdx, SourceLocation IncludeLoc);
|
| H A D | DirectoryLookup.h | 184 LookupFile(StringRef &Filename, HeaderSearch &HS, SourceLocation IncludeLoc,
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 566 SourceLocation IncludeLoc) { in createFileID() argument 569 IncludeLoc, FileCharacter, LoadedID, LoadedOffset); in createFileID() 580 SourceLocation IncludeLoc) { in createFileID() argument 582 LoadedID, LoadedOffset, IncludeLoc); in createFileID() 1545 SourceLocation IncludeLoc = FI.getIncludeLoc(); in getPresumedLoc() local 1573 IncludeLoc = getLocForStartOfFile(LocInfo.first); in getPresumedLoc() 1574 IncludeLoc = IncludeLoc.getLocWithOffset(Entry->IncludeOffset); in getPresumedLoc() 1579 return PresumedLoc(Filename.data(), FID, LineNo, ColNo, IncludeLoc); in getPresumedLoc() 1782 SourceLocation IncludeLoc = File.getIncludeLoc(); in computeMacroArgsCache() local 1784 (IncludeLoc.isValid() && isInFileID(IncludeLoc, FID)) || in computeMacroArgsCache() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | SourceLocation.h | 306 SourceLocation IncludeLoc; 312 : Filename(FN), ID(FID), Line(Ln), Col(Co), IncludeLoc(IL) {} 355 return IncludeLoc;
|
| H A D | SourceManager.h | 291 SourceLocation IncludeLoc; variable 311 X.IncludeLoc = IL; in get() 321 return IncludeLoc; in getIncludeLoc() 887 SourceLocation IncludeLoc = SourceLocation()); 896 SourceLocation IncludeLoc = SourceLocation());
|
| /llvm-project-15.0.7/mlir/lib/Tools/lsp-server-support/ |
| H A D | SourceMgrUtils.cpp | 86 SMLoc includeLoc = sourceMgr.getBufferInfo(i + 1).IncludeLoc; in gatherIncludeFiles()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Preamble.cpp | 752 auto IncludeLoc = SM.getIncludeLoc(DefFile); in translatePreamblePatchLocation() local 754 if (IncludeLoc.isValid() && SM.isWrittenInBuiltinFile(IncludeLoc) && in translatePreamblePatchLocation()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaAttr.cpp | 436 SourceLocation IncludeLoc) { in DiagnoseNonDefaultPragmaAlignPack() argument 464 Diag(IncludeLoc, diag::warn_pragma_pack_non_default_at_include); in DiagnoseNonDefaultPragmaAlignPack() 469 Diag(IncludeLoc, diag::warn_pragma_pack_modified_after_include); in DiagnoseNonDefaultPragmaAlignPack()
|
| H A D | Sema.cpp | 149 SourceLocation IncludeLoc = SM.getIncludeLoc(SM.getFileID(Loc)); in FileChanged() local 150 if (IncludeLoc.isValid()) { in FileChanged() 157 IncludeStack.push_back(IncludeLoc); in FileChanged() 160 IncludeLoc); in FileChanged()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 1563 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local 1564 if (IncludeLoc.isInvalid() && F->Kind != MK_MainFile) { in ReadSLocEntry() 1566 IncludeLoc = getImportLocation(F); in ReadSLocEntry() 1570 FileID FID = SourceMgr.createFileID(*File, IncludeLoc, FileCharacter, ID, in ReadSLocEntry() 1605 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local 1606 if (IncludeLoc.isInvalid() && F->isModule()) { in ReadSLocEntry() 1607 IncludeLoc = getImportLocation(F); in ReadSLocEntry() 1614 BaseOffset + Offset, IncludeLoc); in ReadSLocEntry()
|
| /llvm-project-15.0.7/llvm/lib/MC/MCParser/ |
| H A D | AsmParser.cpp | 5090 SMLoc IncludeLoc = getTok().getLoc(); in parseDirectiveInclude() local 5099 check(enterIncludeFile(Filename), IncludeLoc, in parseDirectiveInclude()
|
| H A D | MasmParser.cpp | 6134 SMLoc IncludeLoc = getTok().getLoc(); in parseDirectiveInclude() local 6143 check(enterIncludeFile(Filename), IncludeLoc, in parseDirectiveInclude()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 10275 SourceLocation IncludeLoc);
|