/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 | 440 StringRef FileName, SourceLocation IncludeLoc, const DirectoryEntry *Dir, in getFileAndSuggestModule() argument 454 Diags.Report(IncludeLoc, diag::err_cannot_open_file) in getFileAndSuggestModule() 472 StringRef &Filename, HeaderSearch &HS, SourceLocation IncludeLoc, in LookupFile() argument 498 TmpDir, IncludeLoc, getDir(), isSystemHeaderDirectory(), in LookupFile() 552 HS.noteLookupUsage(HS.searchDirIdx(*this), IncludeLoc); in LookupFile() 784 SourceLocation IncludeLoc) { in checkMSVCHeaderSearch() argument 786 Diags.Report(IncludeLoc, diag::ext_pp_include_search_ms) << MSFE->getName(); in checkMSVCHeaderSearch() 842 diagnoseFrameworkInclude(DiagnosticsEngine &Diags, SourceLocation IncludeLoc, in diagnoseFrameworkInclude() argument 866 Diags.Report(IncludeLoc, diag::warn_quoted_include_in_framework_header) in diagnoseFrameworkInclude() 868 << FixItHint::CreateReplacement(IncludeLoc, NewInclude); in diagnoseFrameworkInclude() [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 | 360 SourceLocation IncludeLoc = UserLoc.getIncludeLoc(); in FileChanged() local 361 if (IncludeLoc.isValid()) in FileChanged() 362 MoveToLine(IncludeLoc, /*RequireStartOfLine=*/false); in FileChanged()
|
/freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | HeaderSearch.h | 511 StringRef Filename, SourceLocation IncludeLoc, bool isAngled, 815 getFileAndSuggestModule(StringRef FileName, SourceLocation IncludeLoc, 825 SourceLocation IncludeLoc); 829 void noteLookupUsage(unsigned HitIdx, SourceLocation IncludeLoc);
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | SourceLocation.h | 309 SourceLocation IncludeLoc; 315 : Filename(FN), ID(FID), Line(Ln), Col(Co), IncludeLoc(IL) {} 358 return IncludeLoc;
|
H A D | SourceManager.h | 303 SourceLocation IncludeLoc; variable 324 X.IncludeLoc = IL; in get() 334 return IncludeLoc; in getIncludeLoc() 927 SourceLocation IncludeLoc = SourceLocation()); 936 SourceLocation IncludeLoc = SourceLocation());
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | SourceManager.cpp | 571 SourceLocation IncludeLoc) { in createFileID() argument 574 IncludeLoc, FileCharacter, LoadedID, LoadedOffset); in createFileID() 585 SourceLocation IncludeLoc) { in createFileID() argument 587 LoadedID, LoadedOffset, IncludeLoc); in createFileID() 1503 SourceLocation IncludeLoc = FI.getIncludeLoc(); in getPresumedLoc() local 1531 IncludeLoc = getLocForStartOfFile(LocInfo.first); in getPresumedLoc() 1532 IncludeLoc = IncludeLoc.getLocWithOffset(Entry->IncludeOffset); in getPresumedLoc() 1537 return PresumedLoc(Filename.data(), FID, LineNo, ColNo, IncludeLoc); in getPresumedLoc() 1740 SourceLocation IncludeLoc = File.getIncludeLoc(); in computeMacroArgsCache() local 1742 (IncludeLoc.isValid() && isInFileID(IncludeLoc, FID)) || in computeMacroArgsCache() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaAttr.cpp | 450 SourceLocation IncludeLoc) { in DiagnoseNonDefaultPragmaAlignPack() argument 478 Diag(IncludeLoc, diag::warn_pragma_pack_non_default_at_include); in DiagnoseNonDefaultPragmaAlignPack() 483 Diag(IncludeLoc, diag::warn_pragma_pack_modified_after_include); in DiagnoseNonDefaultPragmaAlignPack()
|
H A D | Sema.cpp | 177 SourceLocation IncludeLoc = SM.getIncludeLoc(SM.getFileID(Loc)); in FileChanged() local 178 if (IncludeLoc.isValid()) { in FileChanged() 185 IncludeStack.push_back(IncludeLoc); in FileChanged() 188 IncludeLoc); in FileChanged()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | Parser.cpp | 76 [this](StringRef TypeStr, StringRef Context, SourceLocation IncludeLoc) { in Parser() argument 77 return this->ParseTypeFromString(TypeStr, Context, IncludeLoc); in Parser()
|
H A D | ParseDecl.cpp | 8507 SourceLocation IncludeLoc) { in ParseTypeFromString() argument 8515 0, 0, IncludeLoc); in ParseTypeFromString()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 1686 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local 1687 if (IncludeLoc.isInvalid() && F->Kind != MK_MainFile) { in ReadSLocEntry() 1689 IncludeLoc = getImportLocation(F); in ReadSLocEntry() 1693 FileID FID = SourceMgr.createFileID(*File, IncludeLoc, FileCharacter, ID, in ReadSLocEntry() 1727 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local 1728 if (IncludeLoc.isInvalid() && F->isModule()) { in ReadSLocEntry() 1729 IncludeLoc = getImportLocation(F); in ReadSLocEntry() 1736 BaseOffset + Offset, IncludeLoc); in ReadSLocEntry()
|
H A D | ASTWriter.cpp | 1713 SourceLocation IncludeLoc = File.getIncludeLoc(); in getAffectingIncludeLoc() local 1714 if (IncludeLoc.isValid()) { in getAffectingIncludeLoc() 1715 FileID IncludeFID = SourceMgr.getFileID(IncludeLoc); in getAffectingIncludeLoc() 1718 IncludeLoc = SourceLocation(); in getAffectingIncludeLoc() 1720 return IncludeLoc; in getAffectingIncludeLoc()
|
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
H A D | AsmParser.cpp | 5116 SMLoc IncludeLoc = getTok().getLoc(); in parseDirectiveInclude() local 5125 check(enterIncludeFile(Filename), IncludeLoc, in parseDirectiveInclude()
|
H A D | MasmParser.cpp | 6119 SMLoc IncludeLoc = getTok().getLoc(); in parseDirectiveInclude() local 6128 check(enterIncludeFile(Filename), IncludeLoc, in parseDirectiveInclude()
|
/freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
H A D | Parser.h | 3862 SourceLocation IncludeLoc);
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 1872 SourceLocation IncludeLoc);
|