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

/openbsd-current/gnu/llvm/clang/lib/Rewrite/
H A DDeltaTree.cpp42 unsigned FileLoc; member in struct:__anon672::SourceDelta
47 Delta.FileLoc = Loc;
191 while (i != e && FileIndex > getValue(i).FileLoc)
196 if (i != e && getValue(i).FileLoc == FileIndex) {
223 if (InsertRes->Split.FileLoc > FileIndex)
266 if (SubSplit.FileLoc < InsertRes->Split.FileLoc)
274 // Find the insertion point, the first delta whose index is >SubSplit.FileLoc.
276 while (i != e && SubSplit.FileLoc > InsertSide->getValue(i).FileLoc)
[all...]
/openbsd-current/gnu/llvm/clang/include/clang/AST/
H A DCommentLexer.h242 SourceLocation FileLoc; member in class:clang::comments::Lexer
313 return FileLoc.getLocWithOffset(CharNo);
353 const CommandTraits &Traits, SourceLocation FileLoc,
/openbsd-current/gnu/llvm/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp87 SourceLocation FileLoc; local
89 FileLoc = DeclRange.getEnd();
91 FileLoc = SM.getSpellingLoc(DeclRange.getBegin());
92 if (SM.getFileID(FileLoc) != TargetFile)
/openbsd-current/gnu/llvm/clang/lib/Lex/
H A DLexer.cpp138 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)),
153 : FileLoc(fileloc), LangOpts(langOpts), LineComment(LangOpts.LineComment),
216 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID),
569 SourceLocation FileLoc = SM.getSpellingLoc(Loc);
570 SourceLocation BeginFileLoc = getBeginningOfFileToken(FileLoc, SM, LangOpts);
571 std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc);
595 SourceLocation FileLoc = SourceLocation::getFromRawEncoding(StartOffset); local
596 Lexer TheLexer(FileLoc, LangOpts, Buffer.begin(), Buffer.begin(),
722 return PreambleBounds(End.getRawEncoding() - FileLoc.getRawEncoding(),
1124 Preprocessor &PP, SourceLocation FileLoc, unsigne
1125 GetMappedTokenLoc(Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen) argument
[all...]
/openbsd-current/gnu/llvm/clang/lib/Frontend/
H A DASTUnit.cpp1285 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); local
1286 OutDiag.Filename = std::string(SM.getFilename(FileLoc));
1289 OutDiag.LocOffset = SM.getFileOffset(FileLoc);
2378 SourceLocation FileLoc; local
2382 FileLoc = SrcMgr.getLocForStartOfFile(FID);
2383 PreambleSrcLocCache[SD.Filename] = FileLoc;
2385 FileLoc = ItFileID->getValue();
2388 if (FileLoc.isInvalid())
2390 SourceLocation L = FileLoc.getLocWithOffset(SD.LocOffset);
2396 SourceLocation BL = FileLoc
2512 SourceLocation FileLoc = SM.translateFileLineCol(File, 1, 1); local
2529 SourceLocation FileLoc local
2551 SourceLocation FileLoc = SourceMgr->getLocForStartOfFile(PreambleID); local
[all...]
/openbsd-current/gnu/llvm/clang/include/clang/Lex/
H A DLexer.h93 SourceLocation FileLoc; member in class:clang::Lexer
173 Lexer(SourceLocation FileLoc, const LangOptions &LangOpts,
199 SourceLocation getFileLoc() const { return FileLoc; }
/openbsd-current/gnu/llvm/clang/tools/clang-refactor/
H A DTestSupport.cpp53 SourceLocation FileLoc = SM.getLocForStartOfFile(FID); local
58 SM.getMacroArgExpandedLocation(FileLoc.getLocWithOffset(Range.Begin));
60 SM.getMacroArgExpandedLocation(FileLoc.getLocWithOffset(Range.End));
/openbsd-current/gnu/llvm/clang/tools/libclang/
H A DCXSourceLocation.cpp358 SourceLocation FileLoc = SM.getFileLoc(Loc); local
359 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(FileLoc);
H A DCXIndexDataConsumer.cpp949 SourceLocation FileLoc = SM.getFileLoc(Loc); local
950 FileID FID = SM.getFileID(FileLoc);
/openbsd-current/gnu/llvm/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp170 auto FileLoc = SM.getFileLoc(Loc); local
171 FileID FID = SM.getFileID(FileLoc);
/openbsd-current/gnu/llvm/llvm/tools/llvm-rc/
H A DResourceScriptStmt.cpp254 return OS << FileLoc << "\n";
H A DResourceScriptStmt.h693 StringRef FileLoc; member in class:llvm::rc::UserDefinedResource
699 : RCResource(Flags), Type(ResourceType), FileLoc(FileLocation),
H A DResourceFileWriter.cpp1307 return appendFile(Res->FileLoc);
/openbsd-current/gnu/llvm/clang/lib/Basic/
H A DSourceManager.cpp1718 SourceLocation FileLoc = SourceLocation::getFileLoc(Entry.getOffset());
1721 return FileLoc;
1739 return FileLoc.getLocWithOffset(Size);
1746 return FileLoc.getLocWithOffset(FilePos);
1753 return FileLoc.getLocWithOffset(FilePos + i);
/openbsd-current/gnu/llvm/clang/lib/CodeGen/
H A DCGDebugInfo.h577 SourceLocation FileLoc);
H A DCGDebugInfo.cpp3276 SourceLocation FileLoc) {
3277 llvm::DIFile *FName = getOrCreateFile(FileLoc);
3274 CreateTempMacroFile(llvm::DIMacroFile *Parent, SourceLocation LineLoc, SourceLocation FileLoc) argument
/openbsd-current/gnu/llvm/clang/lib/Serialization/
H A DASTWriter.cpp5650 SourceLocation FileLoc = SM.getFileLoc(Loc);
5651 assert(SM.isLocalSourceLocation(FileLoc));
5654 std::tie(FID, Offset) = SM.getDecomposedLoc(FileLoc);

Completed in 257 milliseconds