Home
last modified time | relevance | path

Searched refs:SLocEntry (Results 1 – 25 of 26) sorted by relevance

12

/external/clang/include/clang/Basic/
DSourceManager.h395 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/
DSourceManager.h470 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/
DSourceManager.cpp273 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/
DSourceManager.cpp294 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/
DCIndexInclusionStack.cpp24 static void getInclusions(const SrcMgr::SLocEntry &(SourceManager::*Getter)(unsigned, bool*) const,… in getInclusions()
36 const SrcMgr::SLocEntry &SL = (SM.*Getter)(i, &Invalid); in getInclusions()
DCXSourceLocation.cpp256 const SrcMgr::SLocEntry &sloc = SM.getSLocEntry(fileID, &Invalid); in clang_getExpansionLocation()
DCIndex.cpp310 const SrcMgr::SLocEntry &SLEntry = SM.getSLocEntry(File, &Invalid); in visitDeclsFromFileRegion()
/external/llvm-project/clang/tools/libclang/
DCIndexInclusionStack.cpp32 const SrcMgr::SLocEntry &SL = in getInclusions()
DCXSourceLocation.cpp247 const SrcMgr::SLocEntry &sloc = SM.getSLocEntry(fileID, &Invalid); in clang_getExpansionLocation()
DCIndex.cpp323 const SrcMgr::SLocEntry &SLEntry = SM.getSLocEntry(File, &Invalid); in visitDeclsFromFileRegion()
/external/clang/lib/Index/
DIndexingContext.cpp79 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/
DUseNullptrCheck.cpp319 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/
DIndexingContext.cpp123 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/
DASTWriter.h76 namespace SrcMgr { class SLocEntry; } variable
/external/clang/lib/Lex/
DLexer.cpp899 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/
DLexer.cpp919 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/
DLocalizationChecker.cpp1028 SrcMgr::SLocEntry SE = Mgr.getSourceManager().getSLocEntry(SLInfo.first); in VisitObjCMessageExpr()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DLocalizationChecker.cpp1134 SrcMgr::SLocEntry SE = Mgr.getSourceManager().getSLocEntry(SLInfo.first); in VisitObjCMessageExpr()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp875 SrcMgr::SLocEntry SE = SMgr.getSLocEntry(TLInfo.first); in VisitNode()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp256 SrcMgr::SLocEntry SE = SM.getSLocEntry(TLInfo.first); in isFunctionMacroExpansion()
/external/clang/lib/Serialization/
DASTWriter.cpp1568 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/
DASTWriter.cpp1449 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); in WriteInputFiles()
1943 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); in WriteSourceManagerBlock()
/external/clang/lib/Sema/
DSemaType.cpp3439 const SrcMgr::SLocEntry &sloc = S.SourceMgr.getSLocEntry(file, &invalid); in getNullabilityCompletenessCheckFileID()
/external/llvm-project/clang/lib/Sema/
DSemaType.cpp4140 const SrcMgr::SLocEntry &sloc = S.SourceMgr.getSLocEntry(file, &invalid); in getNullabilityCompletenessCheckFileID()
/external/clang/lib/AST/
DASTImporter.cpp6405 const SrcMgr::SLocEntry &FromSLoc = FromSM.getSLocEntry(FromID); in Import()

12