Searched defs:FileLoc (Results 1 - 8 of 8) sorted by relevance

/external/clang/include/clang/Lex/
H A DLexer.h53 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/Rewrite/
H A DDeltaTree.cpp40 unsigned FileLoc; member in struct:__anon1101::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/tools/libclang/
H A DCXSourceLocation.cpp373 SourceLocation FileLoc = SM.getFileLoc(Loc); local
374 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(FileLoc);
H A DIndexingContext.cpp716 SourceLocation FileLoc = SM.getFileLoc(Loc); local
717 FileID FID = SM.getFileID(FileLoc);
/external/clang/include/clang/AST/
H A DCommentLexer.h237 SourceLocation FileLoc; member in class:clang::comments::Lexer
309 return FileLoc.getLocWithOffset(CharNo);
348 SourceLocation FileLoc,
/external/clang/include/clang/Frontend/
H A DASTUnit.h215 SourceLocation FileLoc = SM.getLocForStartOfFile(SM.getPreambleFileID()); local
216 return SourceRange(FileLoc, FileLoc.getLocWithOffset(size()-1));
/external/clang/lib/Lex/
H A DLexer.cpp111 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/Frontend/
H A DASTUnit.cpp1291 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); local
1292 OutDiag.Filename = SM.getFilename(FileLoc);
1295 OutDiag.LocOffset = SM.getFileOffset(FileLoc);
2507 SourceLocation FileLoc = SrcMgr.getLocForStartOfFile(FID); local
2508 if (FileLoc.isInvalid())
2510 SourceLocation L = FileLoc.getLocWithOffset(SD.LocOffset);
2516 SourceLocation BL = FileLoc.getLocWithOffset(Range.first);
2517 SourceLocation EL = FileLoc.getLocWithOffset(Range.second);
2527 SourceLocation BL = FileLoc.getLocWithOffset(FixIt.RemoveRange.first);
2528 SourceLocation EL = FileLoc
2632 SourceLocation FileLoc = SM.translateFileLineCol(File, 1, 1); local
2649 SourceLocation FileLoc local
2671 SourceLocation FileLoc = SourceMgr->getLocForStartOfFile(PreambleID); local
[all...]

Completed in 5109 milliseconds