Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DSourceMgr.h86 SMLoc IncludeLoc; member
147 return Buffers[i - 1].IncludeLoc; in getParentIncludeLoc()
153 SMLoc IncludeLoc) { in AddNewSourceBuffer() argument
156 NB.IncludeLoc = IncludeLoc; in AddNewSourceBuffer()
167 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc,
224 void PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const;
/freebsd-12.1/contrib/llvm/lib/Support/
H A DSourceMgr.cpp42 SMLoc IncludeLoc, in AddIncludeFile() argument
59 return AddNewSourceBuffer(std::move(*NewBufOrErr), IncludeLoc); in AddIncludeFile()
112 IncludeLoc(Other.IncludeLoc) { in SrcBuffer()
156 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { in PrintIncludeStack() argument
157 if (IncludeLoc == SMLoc()) return; // Top of stack. in PrintIncludeStack()
159 unsigned CurBuf = FindBufferContainingLoc(IncludeLoc); in PrintIncludeStack()
162 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintIncludeStack()
166 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; in PrintIncludeStack()
242 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintMessage()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DHeaderSearch.cpp332 SourceLocation IncludeLoc, in LookupFile() argument
358 return HS.getFileAndSuggestModule(TmpDir, IncludeLoc, getDir(), in LookupFile()
605 SourceLocation IncludeLoc) { in checkMSVCHeaderSearch() argument
677 << FixItHint::CreateReplacement(IncludeLoc, NewInclude); in diagnoseFrameworkInclude()
695 StringRef Filename, SourceLocation IncludeLoc, bool isAngled, in LookupFile() argument
721 return getFileAndSuggestModule(Filename, IncludeLoc, nullptr, in LookupFile()
791 diagnoseFrameworkInclude(Diags, IncludeLoc, in LookupFile()
900 if (checkMSVCHeaderSearch(Diags, MSFE, FE, IncludeLoc)) { in LookupFile()
908 diagnoseFrameworkInclude(Diags, IncludeLoc, in LookupFile()
935 if (checkMSVCHeaderSearch(Diags, MSFE, FE, IncludeLoc)) { in LookupFile()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp168 FullSourceLoc IncludeLoc = in emitIncludeStack() local
173 if (LastIncludeLoc == IncludeLoc) in emitIncludeStack()
176 LastIncludeLoc = IncludeLoc; in emitIncludeStack()
181 if (IncludeLoc.isValid()) in emitIncludeStack()
182 emitIncludeStackRecursively(IncludeLoc); in emitIncludeStack()
H A DPrintPreprocessedOutput.cpp273 SourceLocation IncludeLoc = UserLoc.getIncludeLoc(); in FileChanged() local
274 if (IncludeLoc.isValid()) in FileChanged()
275 MoveToLine(IncludeLoc); in FileChanged()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DSourceLocation.h288 SourceLocation IncludeLoc; variable
293 : Filename(FN), Line(Ln), Col(Co), IncludeLoc(IL) {} in PresumedLoc()
331 return IncludeLoc; in getIncludeLoc()
H A DSourceManager.h252 unsigned IncludeLoc; // Really a SourceLocation variable
272 X.IncludeLoc = IL.getRawEncoding(); in get()
281 return SourceLocation::getFromRawEncoding(IncludeLoc); in getIncludeLoc()
833 SourceLocation IncludeLoc = SourceLocation()) {
836 IncludeLoc, FileCharacter, LoadedID, LoadedOffset);
848 SourceLocation IncludeLoc = SourceLocation()) {
850 IncludeLoc, FileCharacter, LoadedID, LoadedOffset);
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/
H A DDirectoryLookup.h178 SourceLocation IncludeLoc,
H A DHeaderSearch.h395 StringRef Filename, SourceLocation IncludeLoc, bool isAngled,
648 getFileAndSuggestModule(StringRef FileName, SourceLocation IncludeLoc,
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DSourceManager.cpp1445 SourceLocation IncludeLoc = FI.getIncludeLoc(); in getPresumedLoc() local
1469 IncludeLoc = getLocForStartOfFile(LocInfo.first); in getPresumedLoc()
1470 IncludeLoc = IncludeLoc.getLocWithOffset(Entry->IncludeOffset); in getPresumedLoc()
1475 return PresumedLoc(Filename.data(), LineNo, ColNo, IncludeLoc); in getPresumedLoc()
1769 SourceLocation IncludeLoc = Entry.getFile().getIncludeLoc(); in computeMacroArgsCache() local
1770 if (IncludeLoc.isInvalid()) in computeMacroArgsCache()
1772 if (!isInFileID(IncludeLoc, FID)) in computeMacroArgsCache()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaAttr.cpp217 SourceLocation IncludeLoc) { in DiagnoseNonDefaultPragmaPack() argument
240 Diag(IncludeLoc, diag::warn_pragma_pack_non_default_at_include); in DiagnoseNonDefaultPragmaPack()
245 Diag(IncludeLoc, diag::warn_pragma_pack_modified_after_include); in DiagnoseNonDefaultPragmaPack()
H A DSema.cpp94 SourceLocation IncludeLoc = SM.getIncludeLoc(SM.getFileID(Loc)); in FileChanged() local
95 if (IncludeLoc.isValid()) { in FileChanged()
96 IncludeStack.push_back(IncludeLoc); in FileChanged()
98 Sema::PragmaPackDiagnoseKind::NonDefaultStateAtInclude, IncludeLoc); in FileChanged()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReader.cpp1436 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local
1437 if (IncludeLoc.isInvalid() && F->Kind != MK_MainFile) { in ReadSLocEntry()
1439 IncludeLoc = getImportLocation(F); in ReadSLocEntry()
1443 FileID FID = SourceMgr.createFileID(File, IncludeLoc, FileCharacter, in ReadSLocEntry()
1478 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local
1479 if (IncludeLoc.isInvalid() && F->isModule()) { in ReadSLocEntry()
1480 IncludeLoc = getImportLocation(F); in ReadSLocEntry()
1487 BaseOffset + Offset, IncludeLoc); in ReadSLocEntry()
/freebsd-12.1/contrib/llvm/lib/MC/MCParser/
H A DAsmParser.cpp4833 SMLoc IncludeLoc = getTok().getLoc(); in parseDirectiveInclude() local
4842 check(enterIncludeFile(Filename), IncludeLoc, in parseDirectiveInclude()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h8377 SourceLocation IncludeLoc);