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

/external/clang/include/clang/Lex/
H A DLexer.h53 SourceLocation FileLoc; // Location for start of file. member in class:clang::Lexer
102 Lexer(SourceLocation FileLoc, const LangOptions &LangOpts,
128 SourceLocation getFileLoc() const { return FileLoc; }
/external/clang/lib/Rewrite/Core/
H A DDeltaTree.cpp40 unsigned FileLoc; member in struct:__anon16219::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.cpp350 SourceLocation FileLoc = SM.getFileLoc(Loc); local
351 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(FileLoc);
H A DIndexingContext.cpp715 SourceLocation FileLoc = SM.getFileLoc(Loc); local
716 FileID FID = SM.getFileID(FileLoc);
/external/clang/include/clang/AST/
H A DCommentLexer.h237 SourceLocation FileLoc; member in class:clang::comments::Lexer
319 return FileLoc.getLocWithOffset(CharNo);
358 SourceLocation FileLoc,
/external/clang/include/clang/Frontend/
H A DASTUnit.h196 SourceLocation FileLoc = SM.getLocForStartOfFile(SM.getPreambleFileID()); local
197 return SourceRange(FileLoc, FileLoc.getLocWithOffset(size()-1));
/external/clang/lib/Lex/
H A DLexer.cpp119 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)),
141 : FileLoc(fileloc), LangOpts(langOpts) {
154 : FileLoc(SM.getLocForStartOfFile(FID)), LangOpts(langOpts) {
200 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID),
531 SourceLocation FileLoc = SM.getSpellingLoc(Loc);
532 SourceLocation BeginFileLoc = getBeginningOfFileToken(FileLoc, SM, LangOpts);
533 std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc);
557 SourceLocation FileLoc = SourceLocation::getFromRawEncoding(StartOffset); local
558 Lexer TheLexer(FileLoc, LangOpts, Buffer->getBufferStart(),
562 // StartLoc will differ from FileLoc i
1032 GetMappedTokenLoc(Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen) argument
[all...]
/external/clang/lib/Frontend/
H A DASTUnit.cpp2668 SourceLocation FileLoc = SM.getFileLoc(Loc);
2669 assert(SM.isLocalSourceLocation(FileLoc));
2672 llvm::tie(FID, Offset) = SM.getDecomposedLoc(FileLoc);
2746 SourceLocation FileLoc = SM.translateFileLineCol(File, 1, 1); local
2747 return SM.getMacroArgExpandedLocation(FileLoc.getLocWithOffset(Offset));
2763 SourceLocation FileLoc local
2765 return FileLoc.getLocWithOffset(Offs);
2785 SourceLocation FileLoc = SourceMgr->getLocForStartOfFile(PreambleID); local
2786 return FileLoc.getLocWithOffset(Offs);
/external/clang/lib/Serialization/
H A DASTWriter.cpp4622 SourceLocation FileLoc = SM.getFileLoc(Loc); local
4623 assert(SM.isLocalSourceLocation(FileLoc));
4626 llvm::tie(FID, Offset) = SM.getDecomposedLoc(FileLoc);

Completed in 223 milliseconds