/netbsd-current/external/apache2/llvm/dist/clang/lib/Lex/ |
H A D | PreprocessorLexer.cpp | 49 /// getFileID(), this only works for lexers with attached preprocessors. 51 return PP->getSourceManager().getFileEntryForID(getFileID());
|
H A D | ScratchBuffer.cpp | 40 SourceMgr.getSLocEntry(SourceMgr.getFileID(BufferStartLoc))
|
H A D | PPLexerChange.cpp | 406 SourceMgr.getLocForStartOfFile(CurPPLexer->getFileID()) == 419 (SourceMgr.getIncludeLoc(CurPPLexer->getFileID()).isValid() || 422 CurPPLexer->getFileID() == PredefinesFileID))) { 428 SourceMgr.setNumCreatedFIDsForFileID(CurPPLexer->getFileID(), NumFIDs); 434 ExitedFID = CurPPLexer->getFileID(); 457 SourceMgr.getFileEntryForID(CurPPLexer->getFileID()))) 481 CurPPLexer->getFileID() == getPredefinesFileID())) {
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Index/ |
H A D | FileIndexRecord.h | 39 FileID getFileID() const { return FID; } function in class:clang::index::FileIndexRecord
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Basic/ |
H A D | SourceLocation.cpp | 159 FileID FullSourceLoc::getFileID() const { function in class:FullSourceLoc 161 return SrcMgr->getFileID(*this); 213 return SrcMgr->getLineNumber(getFileID(), getFileOffset(), Invalid); 218 return SrcMgr->getColumnNumber(getFileID(), getFileOffset(), Invalid); 223 return SrcMgr->getFileEntryForID(getFileID()); 267 return SrcMgr->getBufferData(SrcMgr->getFileID(*this), Invalid);
|
H A D | SourceManager.cpp | 621 // Set LastFileIDLookup to the newly created file. The next getFileID call is 652 assert(getFileID(TokenStart) == getFileID(TokenEnd) && 762 /// This is the cache-miss path of getFileID. Not as hot as that function, but 942 Loc = getSLocEntry(getFileID(Loc)).getExpansion().getExpansionLocStart(); 978 FID = getFileID(Loc); 996 FID = getFileID(Loc); 1017 if (const FileEntry *F = getFileEntryForID(getFileID(SpellingLoc))) 1027 const ExpansionInfo &Expansion = getSLocEntry(getFileID(Loc)).getExpansion(); 1061 FileID FID = getFileID(Lo [all...] |
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Basic/ |
H A D | PlistSupport.h | 40 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); 52 FileID FID = SM.getFileID(SM.getExpansionLoc(L));
|
H A D | SourceManager.h | 714 /// A one-entry cache to speed up getFileID. 1100 FileID getFileID(SourceLocation SpellingLoc) const { function in class:clang::SourceManager 1143 FileID FID = getFileID(Loc); 1234 FileID FID = getFileID(Loc); 1247 FileID FID = getFileID(Loc); 1265 FileID FID = getFileID(Loc); 1455 return getFileID(Loc1) == getFileID(Loc2); 1463 return getFileID(Loc) == getMainFileID();
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Format/ |
H A D | TokenAnalyzer.h | 47 FileID getFileID() const { return ID; } function in class:clang::format::Environment
|
H A D | TokenAnalyzer.cpp | 56 Env.getSourceManager().getBufferData(Env.getFileID()))) { 69 FormatTokenLexer Lex(Env.getSourceManager(), Env.getFileID(),
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Tooling/Transformer/ |
H A D | Transformer.cpp | 48 auto ID = Result.SourceManager->getFileID(T.Range.getBegin());
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Analysis/ |
H A D | IssueHash.cpp | 140 StringRef Str = GetNthLineOfFile(SM.getBufferOrNone(L.getFileID(), L), 148 SM.translateLineCol(SM.getFileID(L), L.getExpansionLineNumber(), col); 150 SM.getBufferOrNone(SM.getFileID(StartOfLine), StartOfLine); 157 Lexer Lexer(SM.getLocForStartOfFile(SM.getFileID(StartOfLine)), LangOpts,
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Frontend/ |
H A D | DiagnosticRenderer.cpp | 266 assert(SM->getFileID(Loc) == MacroFileID); 291 MacroFileID = SM->getFileID(MacroLocation); 309 MacroFileID = SM->getFileID(MacroArgLocation); 321 IDs.push_back(SM->getFileID(Loc)); 359 FileID CaretLocFileID = CaretLoc.getFileID(); 370 FileID BeginFileID = SM->getFileID(Begin); 371 FileID EndFileID = SM->getFileID(End); 380 BeginFileID = SM->getFileID(Begin); 389 EndFileID = SM->getFileID(End);
|
H A D | VerifyDiagnosticConsumer.cpp | 70 Verify.UpdateParsedFileStatus(SM, SM.getFileID(Loc), 521 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); 526 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); 741 FileID FID = SrcManager->getFileID(Loc); 875 SourceMgr->getFileID(I->first))) 927 const FileEntry *DiagFile = SM.getFileEntryForID(SM.getFileID(DiagnosticLoc)); 931 return (DiagFile == SM.getFileEntryForID(SM.getFileID(DirectiveLoc)));
|
H A D | DependencyGraph.cpp | 84 = SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(HashLoc)));
|
H A D | LogDiagnosticPrinter.cpp | 149 FileID FID = SM.getFileID(Info.getLocation());
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Tooling/Syntax/ |
H A D | Tokens.cpp | 73 auto ExpInfoFirst = SM.getSLocEntry(SM.getFileID(FirstLoc)).getExpansion(); 74 auto ExpInfoLast = SM.getSLocEntry(SM.getFileID(LastLoc)).getExpansion(); 162 assert(SM.getFileID(BeginLoc) == SM.getFileID(EndLoc)); 235 SourceMgr->getFileID(SourceMgr->getExpansionLoc(Expanded->location()))); 347 spelledTokens(SourceMgr->getFileID(Loc)), 377 FileID FID = SourceMgr->getFileID(BeginSpelled->location()); 379 if (FID != SourceMgr->getFileID(LastSpelled->location())) 429 auto FileIt = Files.find(SourceMgr->getFileID(Spelled.front().location())); 494 Loc, Tokens.spelledTokens(Tokens.sourceManager().getFileID(Lo [all...] |
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ObjCUnusedIVarsChecker.cpp | 101 if (SM.getFileID(L) == FID) 152 Scan(M, D->getDeclContext(), SM.getFileID(D->getLocation()), SM);
|
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Lex/ |
H A D | PreprocessorLexer.h | 146 FileID getFileID() const { function in class:clang::PreprocessorLexer 148 "PreprocessorLexer::getFileID() should only be used with a Preprocessor"); 158 /// getFileID(), this only works for lexers with attached preprocessors.
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CoverageMappingGen.cpp | 237 return SM.getLocForStartOfFile(SM.getFileID(Loc)); 243 return Loc.getLocWithOffset(SM.getFileIDSize(SM.getFileID(Loc)) - 245 return SM.getLocForEndOfFile(SM.getFileID(Loc)); 251 : SM.getIncludeLoc(SM.getFileID(Loc)); 297 FileID File = SM.getFileID(Loc); 320 FileIDMapping[SM.getFileID(Loc)] = std::make_pair(Mapping.size(), Loc); 321 Mapping.push_back(CVM.getFileID(Entry)); 329 auto Mapping = FileIDMapping.find(SM.getFileID(Loc)); 407 assert(SM.getFileID(LocStart).isValid() && "region in invalid file"); 495 FileID StartFileID = SM.getFileID(Star [all...] |
H A D | CoverageMappingGen.h | 127 unsigned getFileID(const FileEntry *File);
|
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | AnalysisManager.h | 133 SourceLocation IL = SM.getIncludeLoc(SM.getFileID(SL));
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Rewrite/ |
H A D | HTMLRewrite.cpp | 37 FileID FID = SM.getFileID(B); 38 assert(SM.getFileID(E) == FID && "B/E not in the same file!"); 613 if (SM.getFileID(LLoc.getBegin()) != FID) { 618 assert(SM.getFileID(LLoc.getEnd()) == FID &&
|
/netbsd-current/external/apache2/llvm/dist/clang/tools/c-index-test/ |
H A D | core_main.cpp | 110 FileID FID = SM.getFileID(Loc); 148 FileID FID = SM.getFileID(Loc); 171 FileID FID = SM.getFileID(Loc);
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/ |
H A D | ASTSelection.cpp | 91 if (SM.getFileID(FileLoc) != TargetFile) 189 Context.getSourceManager().getFileID(SelectionRange.getBegin()); 190 assert(Context.getSourceManager().getFileID(SelectionRange.getEnd()) ==
|