/freebsd/contrib/llvm-project/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;
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | SourceMgr.cpp | 42 SMLoc IncludeLoc, in AddIncludeFile() argument 49 return AddNewSourceBuffer(std::move(*NewBufOrErr), IncludeLoc); in AddIncludeFile() 172 IncludeLoc(Other.IncludeLoc) { in SrcBuffer() 261 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { in PrintIncludeStack() argument 262 if (IncludeLoc == SMLoc()) in PrintIncludeStack() 265 unsigned CurBuf = FindBufferContainingLoc(IncludeLoc); in PrintIncludeStack() 268 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintIncludeStack() 271 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; in PrintIncludeStack() 346 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintMessage()
|
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
H A D | HeaderSearch.cpp | 430 Diags.Report(IncludeLoc, diag::err_cannot_open_file) in getFileAndSuggestModule() 474 TmpDir, IncludeLoc, getDir(), isSystemHeaderDirectory(), in LookupFile() 528 HS.noteLookupUsage(HS.searchDirIdx(*this), IncludeLoc); in LookupFile() 760 SourceLocation IncludeLoc) { in checkMSVCHeaderSearch() argument 844 << FixItHint::CreateReplacement(IncludeLoc, NewInclude); in diagnoseFrameworkInclude() 862 StringRef Filename, SourceLocation IncludeLoc, bool isAngled, in LookupFile() argument 965 diagnoseFrameworkInclude(Diags, IncludeLoc, in LookupFile() 1120 diagnoseFrameworkInclude(Diags, IncludeLoc, in LookupFile() 1125 cacheLookupSuccess(CacheLookup, It, IncludeLoc); in LookupFile() 1149 IncludeLoc)) { in LookupFile() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | DiagnosticRenderer.cpp | 166 FullSourceLoc IncludeLoc = in emitIncludeStack() local 171 if (LastIncludeLoc == IncludeLoc) in emitIncludeStack() 174 LastIncludeLoc = IncludeLoc; in emitIncludeStack() 179 if (IncludeLoc.isValid()) in emitIncludeStack() 180 emitIncludeStackRecursively(IncludeLoc); in emitIncludeStack()
|
H A D | PrintPreprocessedOutput.cpp | 345 SourceLocation IncludeLoc = UserLoc.getIncludeLoc(); in FileChanged() local 346 if (IncludeLoc.isValid()) in FileChanged() 347 MoveToLine(IncludeLoc, /*RequireStartOfLine=*/false); in FileChanged()
|
/freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | HeaderSearch.h | 494 StringRef Filename, SourceLocation IncludeLoc, bool isAngled, 787 getFileAndSuggestModule(StringRef FileName, SourceLocation IncludeLoc, 797 SourceLocation IncludeLoc); 801 void noteLookupUsage(unsigned HitIdx, SourceLocation IncludeLoc);
|
H A D | DirectoryLookup.h | 188 LookupFile(StringRef &Filename, HeaderSearch &HS, SourceLocation IncludeLoc,
|
/freebsd/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 | 303 SourceLocation IncludeLoc; variable 324 X.IncludeLoc = IL; in get() 334 return IncludeLoc; in getIncludeLoc() 923 SourceLocation IncludeLoc = SourceLocation()); 932 SourceLocation IncludeLoc = SourceLocation());
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | SourceManager.cpp | 558 SourceLocation IncludeLoc) { in createFileID() argument 561 IncludeLoc, FileCharacter, LoadedID, LoadedOffset); in createFileID() 572 SourceLocation IncludeLoc) { in createFileID() argument 574 LoadedID, LoadedOffset, IncludeLoc); in createFileID() 1488 SourceLocation IncludeLoc = FI.getIncludeLoc(); in getPresumedLoc() local 1516 IncludeLoc = getLocForStartOfFile(LocInfo.first); in getPresumedLoc() 1517 IncludeLoc = IncludeLoc.getLocWithOffset(Entry->IncludeOffset); in getPresumedLoc() 1522 return PresumedLoc(Filename.data(), FID, LineNo, ColNo, IncludeLoc); in getPresumedLoc() 1725 SourceLocation IncludeLoc = File.getIncludeLoc(); in computeMacroArgsCache() local 1727 (IncludeLoc.isValid() && isInFileID(IncludeLoc, FID)) || in computeMacroArgsCache() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaAttr.cpp | 437 SourceLocation IncludeLoc) { in DiagnoseNonDefaultPragmaAlignPack() argument 465 Diag(IncludeLoc, diag::warn_pragma_pack_non_default_at_include); in DiagnoseNonDefaultPragmaAlignPack() 470 Diag(IncludeLoc, diag::warn_pragma_pack_modified_after_include); in DiagnoseNonDefaultPragmaAlignPack()
|
H A D | Sema.cpp | 152 SourceLocation IncludeLoc = SM.getIncludeLoc(SM.getFileID(Loc)); in FileChanged() local 153 if (IncludeLoc.isValid()) { in FileChanged() 160 IncludeStack.push_back(IncludeLoc); in FileChanged() 163 IncludeLoc); in FileChanged()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | Parser.cpp | 75 [this](StringRef TypeStr, StringRef Context, SourceLocation IncludeLoc) { in Parser() argument 76 return this->ParseTypeFromString(TypeStr, Context, IncludeLoc); in Parser()
|
H A D | ParseDecl.cpp | 8055 SourceLocation IncludeLoc) { in ParseTypeFromString() argument 8063 0, 0, IncludeLoc); in ParseTypeFromString()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 1645 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local 1646 if (IncludeLoc.isInvalid() && F->Kind != MK_MainFile) { in ReadSLocEntry() 1648 IncludeLoc = getImportLocation(F); in ReadSLocEntry() 1652 FileID FID = SourceMgr.createFileID(*File, IncludeLoc, FileCharacter, ID, in ReadSLocEntry() 1687 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local 1688 if (IncludeLoc.isInvalid() && F->isModule()) { in ReadSLocEntry() 1689 IncludeLoc = getImportLocation(F); in ReadSLocEntry() 1696 BaseOffset + Offset, IncludeLoc); in ReadSLocEntry()
|
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
H A D | AsmParser.cpp | 5105 SMLoc IncludeLoc = getTok().getLoc(); in parseDirectiveInclude() local 5114 check(enterIncludeFile(Filename), IncludeLoc, in parseDirectiveInclude()
|
H A D | MasmParser.cpp | 6118 SMLoc IncludeLoc = getTok().getLoc(); in parseDirectiveInclude() local 6127 check(enterIncludeFile(Filename), IncludeLoc, in parseDirectiveInclude()
|
/freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
H A D | Parser.h | 3677 SourceLocation IncludeLoc);
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 10917 SourceLocation IncludeLoc);
|