| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | SourceMgr.h | 86 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 D | SourceMgr.cpp | 42 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 D | HeaderSearch.cpp | 332 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 D | DiagnosticRenderer.cpp | 168 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 D | PrintPreprocessedOutput.cpp | 273 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 D | SourceLocation.h | 288 SourceLocation IncludeLoc; variable 293 : Filename(FN), Line(Ln), Col(Co), IncludeLoc(IL) {} in PresumedLoc() 331 return IncludeLoc; in getIncludeLoc()
|
| H A D | SourceManager.h | 252 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 D | DirectoryLookup.h | 178 SourceLocation IncludeLoc,
|
| H A D | HeaderSearch.h | 395 StringRef Filename, SourceLocation IncludeLoc, bool isAngled, 648 getFileAndSuggestModule(StringRef FileName, SourceLocation IncludeLoc,
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 1445 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 D | SemaAttr.cpp | 217 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 D | Sema.cpp | 94 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 D | ASTReader.cpp | 1436 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 D | AsmParser.cpp | 4833 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 D | Sema.h | 8377 SourceLocation IncludeLoc);
|