/external/clang/lib/Rewrite/ |
H A D | DeltaTree.cpp | 40 unsigned FileLoc; member in struct:__anon1272::SourceDelta 45 Delta.FileLoc = Loc; 186 while (i != e && FileIndex > getValue(i).FileLoc) 191 if (i != e && getValue(i).FileLoc == FileIndex) { 218 if (InsertRes->Split.FileLoc > FileIndex) 261 if (SubSplit.FileLoc < InsertRes->Split.FileLoc) 269 // Find the insertion point, the first delta whose index is >SubSplit.FileLoc. 271 while (i != e && SubSplit.FileLoc > InsertSide->getValue(i).FileLoc) [all...] |
/external/clang/include/clang/AST/ |
H A D | CommentLexer.h | 237 SourceLocation FileLoc; member in class:clang::comments::Lexer 309 return FileLoc.getLocWithOffset(CharNo); 348 SourceLocation FileLoc,
|
/external/llvm/tools/sancov/ |
H A D | sancov.cc | 143 struct FileLoc { struct in namespace:__anon12675 144 bool operator<(const FileLoc &RHS) const { 157 FileLoc Loc; 170 // Compute [FileLoc -> FunctionName] map for given addresses. 171 static std::map<FileLoc, std::string> 173 std::map<FileLoc, std::string> Fns; 188 FileLoc Loc = {FileName.str(), FrameInfo.Line}; 199 std::map<FileLoc, std::string> Fns = computeFunctionsMap(Addrs);
|
/external/clang/include/clang/Lex/ |
H A D | Lexer.h | 53 SourceLocation FileLoc; // Location for start of file. member in class:clang::Lexer 108 Lexer(SourceLocation FileLoc, const LangOptions &LangOpts, 134 SourceLocation getFileLoc() const { return FileLoc; }
|
/external/clang/lib/Frontend/ |
H A D | ASTUnit.cpp | 1308 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); local 1309 OutDiag.Filename = SM.getFilename(FileLoc); 1312 OutDiag.LocOffset = SM.getFileOffset(FileLoc); 2537 SourceLocation FileLoc = SrcMgr.getLocForStartOfFile(FID); local 2538 if (FileLoc.isInvalid()) 2540 SourceLocation L = FileLoc.getLocWithOffset(SD.LocOffset); 2546 SourceLocation BL = FileLoc.getLocWithOffset(Range.first); 2547 SourceLocation EL = FileLoc.getLocWithOffset(Range.second); 2557 SourceLocation BL = FileLoc.getLocWithOffset(FixIt.RemoveRange.first); 2558 SourceLocation EL = FileLoc 2662 SourceLocation FileLoc = SM.translateFileLineCol(File, 1, 1); local 2679 SourceLocation FileLoc local 2701 SourceLocation FileLoc = SourceMgr->getLocForStartOfFile(PreambleID); local [all...] |
/external/clang/tools/libclang/ |
H A D | CXSourceLocation.cpp | 373 SourceLocation FileLoc = SM.getFileLoc(Loc); local 374 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(FileLoc);
|
H A D | IndexingContext.cpp | 716 SourceLocation FileLoc = SM.getFileLoc(Loc); local 717 FileID FID = SM.getFileID(FileLoc);
|
/external/clang/include/clang/Frontend/ |
H A D | ASTUnit.h | 217 SourceLocation FileLoc = SM.getLocForStartOfFile(SM.getPreambleFileID()); local 218 return SourceRange(FileLoc, FileLoc.getLocWithOffset(size()-1));
|
/external/clang/lib/Lex/ |
H A D | Lexer.cpp | 111 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)), 133 : FileLoc(fileloc), LangOpts(langOpts) { 186 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID), 518 SourceLocation FileLoc = SM.getSpellingLoc(Loc); 519 SourceLocation BeginFileLoc = getBeginningOfFileToken(FileLoc, SM, LangOpts); 520 std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc); 544 SourceLocation FileLoc = SourceLocation::getFromRawEncoding(StartOffset); local 545 Lexer TheLexer(FileLoc, LangOpts, Buffer.begin(), Buffer.begin(), 549 // StartLoc will differ from FileLoc if there is a BOM that was skipped. 1017 Preprocessor &PP, SourceLocation FileLoc, unsigne 1018 GetMappedTokenLoc(Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen) argument [all...] |
/external/clang/lib/Basic/ |
H A D | SourceManager.cpp | 1733 SourceLocation FileLoc = SourceLocation::getFileLoc(Entry.getOffset()); 1736 return FileLoc; 1756 return FileLoc.getLocWithOffset(Size); 1764 return FileLoc.getLocWithOffset(FilePos); 1771 return FileLoc.getLocWithOffset(FilePos + i);
|
/external/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 4997 SourceLocation FileLoc = SM.getFileLoc(Loc); 4998 assert(SM.isLocalSourceLocation(FileLoc)); 5001 std::tie(FID, Offset) = SM.getDecomposedLoc(FileLoc);
|