| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | SourceMgr.h | 75 SMLoc IncludeLoc; member 136 return Buffers[i - 1].IncludeLoc; in getParentIncludeLoc() 142 SMLoc IncludeLoc) { in AddNewSourceBuffer() argument 145 NB.IncludeLoc = IncludeLoc; in AddNewSourceBuffer() 156 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, 222 void PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/ |
| H A D | SourceMgr.cpp | 41 SMLoc IncludeLoc, in AddIncludeFile() argument 58 return AddNewSourceBuffer(std::move(*NewBufOrErr), IncludeLoc); in AddIncludeFile() 160 IncludeLoc(Other.IncludeLoc) { in SrcBuffer() 249 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { in PrintIncludeStack() argument 250 if (IncludeLoc == SMLoc()) in PrintIncludeStack() 253 unsigned CurBuf = FindBufferContainingLoc(IncludeLoc); in PrintIncludeStack() 256 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintIncludeStack() 259 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; in PrintIncludeStack() 335 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintMessage()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Lex/ |
| H A D | HeaderSearch.cpp | 359 Diags.Report(IncludeLoc, diag::err_cannot_open_file) in getFileAndSuggestModule() 377 StringRef &Filename, HeaderSearch &HS, SourceLocation IncludeLoc, in LookupFile() argument 401 return HS.getFileAndSuggestModule(TmpDir, IncludeLoc, getDir(), in LookupFile() 665 SourceLocation IncludeLoc) { in checkMSVCHeaderSearch() argument 737 << FixItHint::CreateReplacement(IncludeLoc, NewInclude); in diagnoseFrameworkInclude() 755 StringRef Filename, SourceLocation IncludeLoc, bool isAngled, in LookupFile() argument 786 return getFileAndSuggestModule(Filename, IncludeLoc, nullptr, in LookupFile() 856 diagnoseFrameworkInclude(Diags, IncludeLoc, in LookupFile() 977 &File->getFileEntry(), IncludeLoc)) { in LookupFile() 1014 IncludeLoc)) { in LookupFile() [all …]
|
| /freebsd-13.1/contrib/llvm-project/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 | 274 SourceLocation IncludeLoc = UserLoc.getIncludeLoc(); in FileChanged() local 275 if (IncludeLoc.isValid()) in FileChanged() 276 MoveToLine(IncludeLoc); in FileChanged()
|
| /freebsd-13.1/contrib/llvm-project/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() 1550 SourceLocation IncludeLoc = FI.getIncludeLoc(); in getPresumedLoc() local 1578 IncludeLoc = getLocForStartOfFile(LocInfo.first); in getPresumedLoc() 1579 IncludeLoc = IncludeLoc.getLocWithOffset(Entry->IncludeOffset); in getPresumedLoc() 1584 return PresumedLoc(Filename.data(), FID, LineNo, ColNo, IncludeLoc); in getPresumedLoc() 1787 SourceLocation IncludeLoc = File.getIncludeLoc(); in computeMacroArgsCache() local 1789 (IncludeLoc.isValid() && isInFileID(IncludeLoc, FID)) || in computeMacroArgsCache() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | SourceLocation.h | 308 SourceLocation IncludeLoc; 314 : Filename(FN), ID(FID), Line(Ln), Col(Co), IncludeLoc(IL) {} 357 return IncludeLoc;
|
| H A D | SourceManager.h | 290 SourceLocation IncludeLoc; variable 310 X.IncludeLoc = IL; in get() 320 return IncludeLoc; in getIncludeLoc() 886 SourceLocation IncludeLoc = SourceLocation()); 895 SourceLocation IncludeLoc = SourceLocation());
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | DirectoryLookup.h | 180 LookupFile(StringRef &Filename, HeaderSearch &HS, SourceLocation IncludeLoc,
|
| H A D | HeaderSearch.h | 413 StringRef Filename, SourceLocation IncludeLoc, bool isAngled, 707 getFileAndSuggestModule(StringRef FileName, SourceLocation IncludeLoc,
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaAttr.cpp | 388 SourceLocation IncludeLoc) { in DiagnoseNonDefaultPragmaAlignPack() argument 416 Diag(IncludeLoc, diag::warn_pragma_pack_non_default_at_include); in DiagnoseNonDefaultPragmaAlignPack() 421 Diag(IncludeLoc, diag::warn_pragma_pack_modified_after_include); in DiagnoseNonDefaultPragmaAlignPack()
|
| H A D | Sema.cpp | 137 SourceLocation IncludeLoc = SM.getIncludeLoc(SM.getFileID(Loc)); in FileChanged() local 138 if (IncludeLoc.isValid()) { in FileChanged() 145 IncludeStack.push_back(IncludeLoc); in FileChanged() 148 IncludeLoc); in FileChanged()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 1527 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local 1528 if (IncludeLoc.isInvalid() && F->Kind != MK_MainFile) { in ReadSLocEntry() 1530 IncludeLoc = getImportLocation(F); in ReadSLocEntry() 1534 FileID FID = SourceMgr.createFileID(*File, IncludeLoc, FileCharacter, ID, in ReadSLocEntry() 1569 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local 1570 if (IncludeLoc.isInvalid() && F->isModule()) { in ReadSLocEntry() 1571 IncludeLoc = getImportLocation(F); in ReadSLocEntry() 1578 BaseOffset + Offset, IncludeLoc); in ReadSLocEntry()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | AsmParser.cpp | 5067 SMLoc IncludeLoc = getTok().getLoc(); in parseDirectiveInclude() local 5076 check(enterIncludeFile(Filename), IncludeLoc, in parseDirectiveInclude()
|
| H A D | MasmParser.cpp | 6158 SMLoc IncludeLoc = getTok().getLoc(); in parseDirectiveInclude() local 6167 check(enterIncludeFile(Filename), IncludeLoc, in parseDirectiveInclude()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 9950 SourceLocation IncludeLoc);
|