Home
last modified time | relevance | path

Searched refs:FileLoc (Results 1 – 8 of 8) sorted by relevance

/external/clang/lib/Rewrite/
DDeltaTree.cpp40 unsigned FileLoc; member
45 Delta.FileLoc = Loc; in get()
189 while (i != e && FileIndex > getValue(i).FileLoc) in DoInsertion()
194 if (i != e && getValue(i).FileLoc == FileIndex) { in DoInsertion()
221 if (InsertRes->Split.FileLoc > FileIndex) in DoInsertion()
264 if (SubSplit.FileLoc < InsertRes->Split.FileLoc) in DoInsertion()
274 while (i != e && SubSplit.FileLoc > InsertSide->getValue(i).FileLoc) in DoInsertion()
353 assert(N->getValue(i-1).FileLoc < N->getValue(i).FileLoc); in VerifyTree()
367 assert(IN->getValue(i-1).FileLoc < IVal.FileLoc); in VerifyTree()
372 assert(IChild->getValue(IChild->getNumValuesUsed()-1).FileLoc < in VerifyTree()
[all …]
/external/clang/include/clang/Lex/
DLexer.h53 SourceLocation FileLoc; // Location for start of file. variable
102 Lexer(SourceLocation FileLoc, const LangOptions &LangOpts,
128 SourceLocation getFileLoc() const { return FileLoc; } in getFileLoc()
/external/clang/lib/Lex/
DLexer.cpp119 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)), in Lexer()
134 : FileLoc(fileloc), LangOpts(langOpts) { in Lexer()
147 : FileLoc(SM.getLocForStartOfFile(FID)), LangOpts(langOpts) { in Lexer()
193 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID), in Create_PragmaLexer()
490 SourceLocation FileLoc = SM.getSpellingLoc(Loc); in GetBeginningOfToken() local
491 SourceLocation BeginFileLoc = getBeginningOfFileToken(FileLoc, SM, LangOpts); in GetBeginningOfToken()
492 std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc); in GetBeginningOfToken()
1137 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen);
1139 SourceLocation FileLoc, in GetMappedTokenLoc() argument
1141 assert(FileLoc.isMacroID() && "Must be a macro expansion"); in GetMappedTokenLoc()
[all …]
/external/clang/include/clang/Frontend/
DASTUnit.h193 SourceLocation FileLoc = SM.getLocForStartOfFile(SM.getPreambleFileID()); in getSourceRange() local
194 return SourceRange(FileLoc, FileLoc.getLocWithOffset(size()-1)); in getSourceRange()
/external/clang/lib/Basic/
DSourceManager.cpp1571 SourceLocation FileLoc = SourceLocation::getFileLoc(Entry.getOffset()); in translateLineCol() local
1574 return FileLoc; in translateLineCol()
1594 return FileLoc.getLocWithOffset(Size); in translateLineCol()
1602 return FileLoc.getLocWithOffset(FilePos); in translateLineCol()
1610 return FileLoc.getLocWithOffset(FilePos + i); in translateLineCol()
1612 return FileLoc.getLocWithOffset(FilePos + Col - 1); in translateLineCol()
/external/clang/lib/Frontend/
DASTUnit.cpp2568 SourceLocation FileLoc = SM.getFileLoc(Loc); in addFileLevelDecl() local
2569 assert(SM.isLocalSourceLocation(FileLoc)); in addFileLevelDecl()
2572 llvm::tie(FID, Offset) = SM.getDecomposedLoc(FileLoc); in addFileLevelDecl()
2646 SourceLocation FileLoc = SM.translateFileLineCol(File, 1, 1); in getLocation() local
2647 return SM.getMacroArgExpandedLocation(FileLoc.getLocWithOffset(Offset)); in getLocation()
2663 SourceLocation FileLoc in mapLocationFromPreamble() local
2665 return FileLoc.getLocWithOffset(Offs); in mapLocationFromPreamble()
2685 SourceLocation FileLoc = SourceMgr->getLocForStartOfFile(PreambleID); in mapLocationToPreamble() local
2686 return FileLoc.getLocWithOffset(Offs); in mapLocationToPreamble()
/external/clang/tools/libclang/
DIndexingContext.cpp630 SourceLocation FileLoc = SM.getFileLoc(Loc); in isNotFromSourceFile() local
631 FileID FID = SM.getFileID(FileLoc); in isNotFromSourceFile()
/external/clang/lib/Serialization/
DASTWriter.cpp3879 SourceLocation FileLoc = SM.getFileLoc(Loc); in associateDeclWithFile() local
3880 assert(SM.isLocalSourceLocation(FileLoc)); in associateDeclWithFile()
3883 llvm::tie(FID, Offset) = SM.getDecomposedLoc(FileLoc); in associateDeclWithFile()