/external/clang/include/clang/Basic/ |
D | SourceManager.h | 395 class SLocEntry { 418 static SLocEntry get(unsigned Offset, const FileInfo &FI) { in get() 420 SLocEntry E; in get() 427 static SLocEntry get(unsigned Offset, const ExpansionInfo &Expansion) { in get() 429 SLocEntry E; in get() 606 SmallVector<SrcMgr::SLocEntry, 0> LocalSLocEntryTable; 612 mutable SmallVector<SrcMgr::SLocEntry, 0> LoadedSLocEntryTable; 898 const SrcMgr::SLocEntry &Entry = getSLocEntry(FID, &MyInvalid); 912 const SrcMgr::SLocEntry &Entry = getSLocEntry(FID, &MyInvalid); 928 const SrcMgr::SLocEntry &Entry = getSLocEntry(FID, &MyInvalid); in getFileEntryForID() [all …]
|
/external/llvm-project/clang/include/clang/Basic/ |
D | SourceManager.h | 470 class SLocEntry { 479 SLocEntry() : Offset(), IsExpansion(), File() {} in SLocEntry() function 496 static SLocEntry get(unsigned Offset, const FileInfo &FI) { in get() 498 SLocEntry E; in get() 505 static SLocEntry get(unsigned Offset, const ExpansionInfo &Expansion) { in get() 507 SLocEntry E; in get() 685 SmallVector<SrcMgr::SLocEntry, 0> LocalSLocEntryTable; 691 SmallVector<SrcMgr::SLocEntry, 0> LoadedSLocEntryTable; 773 mutable std::unique_ptr<SrcMgr::SLocEntry> FakeSLocEntryForRecovery; 1039 const FileEntry *getFileEntryForSLocEntry(const SrcMgr::SLocEntry &sloc) const in getFileEntryForSLocEntry() [all …]
|
/external/llvm-project/clang/lib/Basic/ |
D | SourceManager.cpp | 273 const SLocEntry &Entry = getSLocEntry(LocInfo.first, &Invalid); in AddLineNote() 428 const SrcMgr::SLocEntry &SourceManager::loadSLocEntry(unsigned Index, in loadSLocEntry() 438 FakeSLocEntryForRecovery = std::make_unique<SLocEntry>(SLocEntry::get( in loadSLocEntry() 595 LoadedSLocEntryTable[Index] = SLocEntry::get( in createFileIDImpl() 607 SLocEntry::get(NextLocalOffset, in createFileIDImpl() 661 LoadedSLocEntryTable[Index] = SLocEntry::get(LoadedOffset, Info); in createExpansionLocImpl() 665 LocalSLocEntryTable.push_back(SLocEntry::get(NextLocalOffset, Info)); in createExpansionLocImpl() 720 if (const SrcMgr::SLocEntry *Entry = getSLocEntryForFile(FID)) in getNonBuiltinFilenameForID() 735 if (const SrcMgr::SLocEntry *Entry = getSLocEntryForFile(FID)) in getBufferDataIfLoaded() 741 if (const SrcMgr::SLocEntry *Entry = getSLocEntryForFile(FID)) in getBufferDataOrNone() [all …]
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 294 const SLocEntry &Entry = getSLocEntry(LocInfo.first, &Invalid); in AddLineNote() 322 const SLocEntry &Entry = getSLocEntry(LocInfo.first, &Invalid); in AddLineNote() 460 const SrcMgr::SLocEntry &SourceManager::loadSLocEntry(unsigned Index, in loadSLocEntry() 469 LoadedSLocEntryTable[Index] = SLocEntry::get(0, in loadSLocEntry() 568 LoadedSLocEntryTable[Index] = SLocEntry::get(LoadedOffset, in createFileID() 573 LocalSLocEntryTable.push_back(SLocEntry::get(NextLocalOffset, in createFileID() 621 LoadedSLocEntryTable[Index] = SLocEntry::get(LoadedOffset, Info); in createExpansionLocImpl() 625 LocalSLocEntryTable.push_back(SLocEntry::get(NextLocalOffset, Info)); in createExpansionLocImpl() 684 const SLocEntry &SLoc = getSLocEntry(FID, &MyInvalid); in getBufferData() 740 const SrcMgr::SLocEntry *I; in getFileIDLocal() [all …]
|
/external/clang/tools/libclang/ |
D | CIndexInclusionStack.cpp | 24 static void getInclusions(const SrcMgr::SLocEntry &(SourceManager::*Getter)(unsigned, bool*) const,… in getInclusions() 36 const SrcMgr::SLocEntry &SL = (SM.*Getter)(i, &Invalid); in getInclusions()
|
D | CXSourceLocation.cpp | 256 const SrcMgr::SLocEntry &sloc = SM.getSLocEntry(fileID, &Invalid); in clang_getExpansionLocation()
|
D | CIndex.cpp | 310 const SrcMgr::SLocEntry &SLEntry = SM.getSLocEntry(File, &Invalid); in visitDeclsFromFileRegion()
|
/external/llvm-project/clang/tools/libclang/ |
D | CIndexInclusionStack.cpp | 32 const SrcMgr::SLocEntry &SL = in getInclusions()
|
D | CXSourceLocation.cpp | 247 const SrcMgr::SLocEntry &sloc = SM.getSLocEntry(fileID, &Invalid); in clang_getExpansionLocation()
|
D | CIndex.cpp | 323 const SrcMgr::SLocEntry &SLEntry = SM.getSLocEntry(File, &Invalid); in visitDeclsFromFileRegion()
|
/external/clang/lib/Index/ |
D | IndexingContext.cpp | 79 const SrcMgr::SLocEntry &SEntry = SM.getSLocEntry(FID, &Invalid); in importedModule() 256 const SrcMgr::SLocEntry &SEntry = SM.getSLocEntry(FID, &Invalid); in handleDeclOccurrence()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | UseNullptrCheck.cpp | 319 const SrcMgr::SLocEntry *E = &SM.getSLocEntry(LocInfo.first); in getMacroAndArgLocations() 372 const SrcMgr::SLocEntry *E = &SM.getSLocEntry(LocInfo.first); in expandsFrom()
|
/external/llvm-project/clang/lib/Index/ |
D | IndexingContext.cpp | 123 const SrcMgr::SLocEntry &SEntry = SM.getSLocEntry(FID, &Invalid); in importedModule() 378 const SrcMgr::SLocEntry &SEntry = SM.getSLocEntry(FID, &Invalid); in handleDeclOccurrence()
|
/external/clang/include/clang/Serialization/ |
D | ASTWriter.h | 76 namespace SrcMgr { class SLocEntry; } variable
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 899 const SrcMgr::SLocEntry &BeginEntry = SM.getSLocEntry(SM.getFileID(Begin), in makeFileCharRange() 905 const SrcMgr::SLocEntry &EndEntry = SM.getSLocEntry(SM.getFileID(End), in makeFileCharRange() 966 const SrcMgr::SLocEntry *E = &SM.getSLocEntry(FID); in getImmediateMacroName()
|
/external/llvm-project/clang/lib/Lex/ |
D | Lexer.cpp | 919 const SrcMgr::SLocEntry &BeginEntry = SM.getSLocEntry(SM.getFileID(Begin), in makeFileCharRange() 925 const SrcMgr::SLocEntry &EndEntry = SM.getSLocEntry(SM.getFileID(End), in makeFileCharRange() 986 const SrcMgr::SLocEntry *E = &SM.getSLocEntry(FID); in getImmediateMacroName()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | LocalizationChecker.cpp | 1028 SrcMgr::SLocEntry SE = Mgr.getSourceManager().getSLocEntry(SLInfo.first); in VisitObjCMessageExpr()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | LocalizationChecker.cpp | 1134 SrcMgr::SLocEntry SE = Mgr.getSourceManager().getSLocEntry(SLInfo.first); in VisitObjCMessageExpr()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | BugReporterVisitors.cpp | 875 SrcMgr::SLocEntry SE = SMgr.getSLocEntry(TLInfo.first); in VisitNode()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | BugReporterVisitors.cpp | 256 SrcMgr::SLocEntry SE = SM.getSLocEntry(TLInfo.first); in isFunctionMacroExpansion()
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 1568 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); in WriteInputFiles() 1923 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); in WriteSourceManagerBlock()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTWriter.cpp | 1449 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); in WriteInputFiles() 1943 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); in WriteSourceManagerBlock()
|
/external/clang/lib/Sema/ |
D | SemaType.cpp | 3439 const SrcMgr::SLocEntry &sloc = S.SourceMgr.getSLocEntry(file, &invalid); in getNullabilityCompletenessCheckFileID()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaType.cpp | 4140 const SrcMgr::SLocEntry &sloc = S.SourceMgr.getSLocEntry(file, &invalid); in getNullabilityCompletenessCheckFileID()
|
/external/clang/lib/AST/ |
D | ASTImporter.cpp | 6405 const SrcMgr::SLocEntry &FromSLoc = FromSM.getSLocEntry(FromID); in Import()
|