/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | SourceMgr.h | 75 SMLoc IncludeLoc; member in struct:llvm::SourceMgr::SrcBuffer 136 return Buffers[i - 1].IncludeLoc; 142 SMLoc IncludeLoc) { 145 NB.IncludeLoc = IncludeLoc; 156 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, 215 /// \param IncludeLoc The location of the include. 217 void PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const; 141 AddNewSourceBuffer(std::unique_ptr<MemoryBuffer> F, SMLoc IncludeLoc) argument
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | SourceMgr.cpp | 41 SMLoc IncludeLoc, 58 return AddNewSourceBuffer(std::move(*NewBufOrErr), IncludeLoc); 160 IncludeLoc(Other.IncludeLoc) { 225 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { argument 226 if (IncludeLoc == SMLoc()) 229 unsigned CurBuf = FindBufferContainingLoc(IncludeLoc); 232 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); 235 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; 311 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, O 40 AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, std::string &IncludedFile) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/ |
H A D | HeaderSearch.cpp | 321 StringRef FileName, SourceLocation IncludeLoc, const DirectoryEntry *Dir, 334 Diags.Report(IncludeLoc, diag::err_cannot_open_file) 352 StringRef &Filename, HeaderSearch &HS, SourceLocation IncludeLoc, 376 return HS.getFileAndSuggestModule(TmpDir, IncludeLoc, getDir(), 640 SourceLocation IncludeLoc) { 642 Diags.Report(IncludeLoc, diag::ext_pp_include_search_ms) << MSFE->getName(); 690 diagnoseFrameworkInclude(DiagnosticsEngine &Diags, SourceLocation IncludeLoc, argument 710 Diags.Report(IncludeLoc, diag::warn_quoted_include_in_framework_header) 712 << FixItHint::CreateReplacement(IncludeLoc, NewInclude); 720 Diags.Report(IncludeLoc, dia 320 getFileAndSuggestModule( StringRef FileName, SourceLocation IncludeLoc, const DirectoryEntry *Dir, bool IsSystemHeaderDir, Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule) argument 351 LookupFile( StringRef &Filename, HeaderSearch &HS, SourceLocation IncludeLoc, SmallVectorImpl<char> *SearchPath, SmallVectorImpl<char> *RelativePath, Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule, bool &InUserSpecifiedSystemFramework, bool &IsFrameworkFound, bool &IsInHeaderMap, SmallVectorImpl<char> &MappedName) const argument 638 checkMSVCHeaderSearch(DiagnosticsEngine &Diags, const FileEntry *MSFE, const FileEntry *FE, SourceLocation IncludeLoc) argument 729 LookupFile( StringRef Filename, SourceLocation IncludeLoc, bool isAngled, const DirectoryLookup *FromDir, const DirectoryLookup *&CurDir, ArrayRef<std::pair<const FileEntry *, const DirectoryEntry *>> Includers, SmallVectorImpl<char> *SearchPath, SmallVectorImpl<char> *RelativePath, Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule, bool *IsMapped, bool *IsFrameworkFound, bool SkipCache, bool BuildSystemModule) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | SourceLocation.h | 303 SourceLocation IncludeLoc; member in class:clang::SourceLocation::PresumedLoc 309 : Filename(FN), ID(FID), Line(Ln), Col(Co), IncludeLoc(IL) {} 352 return IncludeLoc;
|
H A D | SourceManager.h | 247 /// expanded from. The main include file has an invalid IncludeLoc. 259 unsigned IncludeLoc; // Really a SourceLocation member in class:clang::SrcMgr::FileInfo 283 X.IncludeLoc = IL.getRawEncoding(); 293 return SourceLocation::getFromRawEncoding(IncludeLoc); 853 SourceLocation IncludeLoc = SourceLocation()); 864 SourceLocation IncludeLoc = SourceLocation());
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | DirectoryLookup.h | 153 /// \param IncludeLoc the source location of the #include or #import 180 LookupFile(StringRef &Filename, HeaderSearch &HS, SourceLocation IncludeLoc,
|
H A D | HeaderSearch.h | 363 /// \param IncludeLoc Used for diagnostics if valid. 393 StringRef Filename, SourceLocation IncludeLoc, bool isAngled, 658 getFileAndSuggestModule(StringRef FileName, SourceLocation IncludeLoc,
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/ |
H A D | DiagnosticRenderer.cpp | 167 FullSourceLoc IncludeLoc = local 172 if (LastIncludeLoc == IncludeLoc) 175 LastIncludeLoc = IncludeLoc; 180 if (IncludeLoc.isValid()) 181 emitIncludeStackRecursively(IncludeLoc);
|
H A D | PrintPreprocessedOutput.cpp | 274 SourceLocation IncludeLoc = UserLoc.getIncludeLoc(); local 275 if (IncludeLoc.isValid()) 276 MoveToLine(IncludeLoc);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/ |
H A D | SourceManager.cpp | 605 SourceLocation IncludeLoc) { 609 Name, IncludeLoc, FileCharacter, LoadedID, LoadedOffset); 619 SourceLocation IncludeLoc) { 621 Buffer->getBufferIdentifier(), IncludeLoc, 1556 SourceLocation IncludeLoc = FI.getIncludeLoc(); 1584 IncludeLoc = getLocForStartOfFile(LocInfo.first); 1585 IncludeLoc = IncludeLoc.getLocWithOffset(Entry->IncludeOffset); 1590 return PresumedLoc(Filename.data(), FID, LineNo, ColNo, IncludeLoc); 1794 SourceLocation IncludeLoc local 602 createFileID(std::unique_ptr<llvm::MemoryBuffer> Buffer, SrcMgr::CharacteristicKind FileCharacter, int LoadedID, unsigned LoadedOffset, SourceLocation IncludeLoc) argument 616 createFileID(UnownedTag, const llvm::MemoryBuffer *Buffer, SrcMgr::CharacteristicKind FileCharacter, int LoadedID, unsigned LoadedOffset, SourceLocation IncludeLoc) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaAttr.cpp | 343 SourceLocation IncludeLoc) { 366 Diag(IncludeLoc, diag::warn_pragma_pack_non_default_at_include); 371 Diag(IncludeLoc, diag::warn_pragma_pack_modified_after_include); 342 DiagnoseNonDefaultPragmaPack(PragmaPackDiagnoseKind Kind, SourceLocation IncludeLoc) argument
|
H A D | Sema.cpp | 114 SourceLocation IncludeLoc = SM.getIncludeLoc(SM.getFileID(Loc)); variable 115 if (IncludeLoc.isValid()) { 122 IncludeStack.push_back(IncludeLoc); 124 Sema::PragmaPackDiagnoseKind::NonDefaultStateAtInclude, IncludeLoc);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 1515 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); 1516 if (IncludeLoc.isInvalid() && F->Kind != MK_MainFile) { 1518 IncludeLoc = getImportLocation(F); 1523 FileID FID = SourceMgr.createFileID(File, IncludeLoc, FileCharacter, 1558 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); local 1559 if (IncludeLoc.isInvalid() && F->isModule()) { 1560 IncludeLoc = getImportLocation(F); 1567 BaseOffset + Offset, IncludeLoc);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/MCParser/ |
H A D | AsmParser.cpp | 4987 SMLoc IncludeLoc = getTok().getLoc(); local 4996 check(enterIncludeFile(Filename), IncludeLoc,
|
H A D | MasmParser.cpp | 5626 SMLoc IncludeLoc = getTok().getLoc(); local 5635 check(enterIncludeFile(Filename), IncludeLoc,
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 9605 SourceLocation IncludeLoc);
|