Home
last modified time | relevance | path

Searched refs:IncludeLoc (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DSourceMgr.h75 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 DSourceMgr.cpp42 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 DHeaderSearch.cpp430 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 DDiagnosticRenderer.cpp166 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 DPrintPreprocessedOutput.cpp345 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 DHeaderSearch.h494 StringRef Filename, SourceLocation IncludeLoc, bool isAngled,
787 getFileAndSuggestModule(StringRef FileName, SourceLocation IncludeLoc,
797 SourceLocation IncludeLoc);
801 void noteLookupUsage(unsigned HitIdx, SourceLocation IncludeLoc);
H A DDirectoryLookup.h188 LookupFile(StringRef &Filename, HeaderSearch &HS, SourceLocation IncludeLoc,
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceLocation.h308 SourceLocation IncludeLoc;
314 : Filename(FN), ID(FID), Line(Ln), Col(Co), IncludeLoc(IL) {}
357 return IncludeLoc;
H A DSourceManager.h303 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 DSourceManager.cpp558 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 DSemaAttr.cpp437 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 DSema.cpp152 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 DParser.cpp75 [this](StringRef TypeStr, StringRef Context, SourceLocation IncludeLoc) { in Parser() argument
76 return this->ParseTypeFromString(TypeStr, Context, IncludeLoc); in Parser()
H A DParseDecl.cpp8055 SourceLocation IncludeLoc) { in ParseTypeFromString() argument
8063 0, 0, IncludeLoc); in ParseTypeFromString()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp1645 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 DAsmParser.cpp5105 SMLoc IncludeLoc = getTok().getLoc(); in parseDirectiveInclude() local
5114 check(enterIncludeFile(Filename), IncludeLoc, in parseDirectiveInclude()
H A DMasmParser.cpp6118 SMLoc IncludeLoc = getTok().getLoc(); in parseDirectiveInclude() local
6127 check(enterIncludeFile(Filename), IncludeLoc, in parseDirectiveInclude()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h3677 SourceLocation IncludeLoc);
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h10917 SourceLocation IncludeLoc);