Searched refs:FileLoc (Results 1 - 10 of 10) sorted by relevance

/external/clang/lib/Rewrite/Core/
H A DDeltaTree.cpp40 unsigned FileLoc; member in struct:__anon17962::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 DCommentLexer.h237 SourceLocation FileLoc; member in class:clang::comments::Lexer
309 return FileLoc.getLocWithOffset(CharNo);
348 SourceLocation FileLoc,
/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/Frontend/
H A DASTUnit.cpp1324 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); local
1325 OutDiag.Filename = SM.getFilename(FileLoc);
1328 OutDiag.LocOffset = SM.getFileOffset(FileLoc);
2557 SourceLocation FileLoc = SrcMgr.getLocForStartOfFile(FID); local
2558 if (FileLoc.isInvalid())
2560 SourceLocation L = FileLoc.getLocWithOffset(SD.LocOffset);
2567 SourceLocation BL = FileLoc.getLocWithOffset((*I).first);
2568 SourceLocation EL = FileLoc.getLocWithOffset((*I).second);
2580 SourceLocation BL = FileLoc.getLocWithOffset(I->RemoveRange.first);
2581 SourceLocation EL = FileLoc
2685 SourceLocation FileLoc = SM.translateFileLineCol(File, 1, 1); local
2702 SourceLocation FileLoc local
2724 SourceLocation FileLoc = SourceMgr->getLocForStartOfFile(PreambleID); local
[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/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) {
146 : FileLoc(SM.getLocForStartOfFile(FID)), LangOpts(langOpts) {
192 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID),
524 SourceLocation FileLoc = SM.getSpellingLoc(Loc);
525 SourceLocation BeginFileLoc = getBeginningOfFileToken(FileLoc, SM, LangOpts);
526 std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc);
550 SourceLocation FileLoc = SourceLocation::getFromRawEncoding(StartOffset); local
551 Lexer TheLexer(FileLoc, LangOpts, Buffer->getBufferStart(),
555 // StartLoc will differ from FileLoc i
1024 GetMappedTokenLoc(Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen) argument
[all...]
/external/clang/lib/Basic/
H A DSourceManager.cpp1734 SourceLocation FileLoc = SourceLocation::getFileLoc(Entry.getOffset());
1737 return FileLoc;
1757 return FileLoc.getLocWithOffset(Size);
1765 return FileLoc.getLocWithOffset(FilePos);
1772 return FileLoc.getLocWithOffset(FilePos + i);
/external/clang/lib/Serialization/
H A DASTWriter.cpp4905 SourceLocation FileLoc = SM.getFileLoc(Loc); local
4906 assert(SM.isLocalSourceLocation(FileLoc));
4909 std::tie(FID, Offset) = SM.getDecomposedLoc(FileLoc);

Completed in 176 milliseconds