| /openbsd-src/gnu/llvm/clang/lib/Rewrite/ |
| H A D | DeltaTree.cpp | 42 unsigned FileLoc; member 47 Delta.FileLoc = Loc; in get() 191 while (i != e && FileIndex > getValue(i).FileLoc) in DoInsertion() 196 if (i != e && getValue(i).FileLoc == FileIndex) { in DoInsertion() 223 if (InsertRes->Split.FileLoc > FileIndex) in DoInsertion() 266 if (SubSplit.FileLoc < InsertRes->Split.FileLoc) in DoInsertion() 276 while (i != e && SubSplit.FileLoc > InsertSide->getValue(i).FileLoc) in DoInsertion() 353 assert(N->getValue(i-1).FileLoc < N->getValue(i).FileLoc); in VerifyTree() 367 assert(IN->getValue(i-1).FileLoc < IVal.FileLoc); in VerifyTree() 372 assert(IChild->getValue(IChild->getNumValuesUsed()-1).FileLoc < in VerifyTree() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | ASTUnit.cpp | 1285 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic() local 1286 OutDiag.Filename = std::string(SM.getFilename(FileLoc)); in makeStandaloneDiagnostic() 1289 OutDiag.LocOffset = SM.getFileOffset(FileLoc); in makeStandaloneDiagnostic() 2378 SourceLocation FileLoc; in TranslateStoredDiagnostics() local 2382 FileLoc = SrcMgr.getLocForStartOfFile(FID); in TranslateStoredDiagnostics() 2383 PreambleSrcLocCache[SD.Filename] = FileLoc; in TranslateStoredDiagnostics() 2385 FileLoc = ItFileID->getValue(); in TranslateStoredDiagnostics() 2388 if (FileLoc.isInvalid()) in TranslateStoredDiagnostics() 2390 SourceLocation L = FileLoc.getLocWithOffset(SD.LocOffset); in TranslateStoredDiagnostics() 2396 SourceLocation BL = FileLoc.getLocWithOffset(Range.first); in TranslateStoredDiagnostics() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 87 SourceLocation FileLoc; in TraverseDecl() local 89 FileLoc = DeclRange.getEnd(); in TraverseDecl() 91 FileLoc = SM.getSpellingLoc(DeclRange.getBegin()); in TraverseDecl() 92 if (SM.getFileID(FileLoc) != TargetFile) in TraverseDecl()
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | CommentLexer.h | 242 SourceLocation FileLoc; variable 313 return FileLoc.getLocWithOffset(CharNo); in getSourceLocation() 353 const CommandTraits &Traits, SourceLocation FileLoc,
|
| /openbsd-src/gnu/llvm/clang/lib/Lex/ |
| H A D | Lexer.cpp | 138 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)), in Lexer() 153 : FileLoc(fileloc), LangOpts(langOpts), LineComment(LangOpts.LineComment), in Lexer() 216 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID), in Create_PragmaLexer() 569 SourceLocation FileLoc = SM.getSpellingLoc(Loc); in GetBeginningOfToken() local 570 SourceLocation BeginFileLoc = getBeginningOfFileToken(FileLoc, SM, LangOpts); in GetBeginningOfToken() 571 std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc); in GetBeginningOfToken() 595 SourceLocation FileLoc = SourceLocation::getFromRawEncoding(StartOffset); in ComputePreamble() local 596 Lexer TheLexer(FileLoc, LangOpts, Buffer.begin(), Buffer.begin(), in ComputePreamble() 722 return PreambleBounds(End.getRawEncoding() - FileLoc.getRawEncoding(), in ComputePreamble() 1124 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen); [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Lex/ |
| H A D | Lexer.h | 93 SourceLocation FileLoc; variable 173 Lexer(SourceLocation FileLoc, const LangOptions &LangOpts, 199 SourceLocation getFileLoc() const { return FileLoc; } in getFileLoc()
|
| /openbsd-src/gnu/llvm/clang/tools/clang-refactor/ |
| H A D | TestSupport.cpp | 53 SourceLocation FileLoc = SM.getLocForStartOfFile(FID); in foreachRange() local 58 SM.getMacroArgExpandedLocation(FileLoc.getLocWithOffset(Range.Begin)); in foreachRange() 60 SM.getMacroArgExpandedLocation(FileLoc.getLocWithOffset(Range.End)); in foreachRange()
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | CXSourceLocation.cpp | 358 SourceLocation FileLoc = SM.getFileLoc(Loc); in clang_getFileLocation() local 359 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(FileLoc); in clang_getFileLocation()
|
| H A D | CXIndexDataConsumer.cpp | 949 SourceLocation FileLoc = SM.getFileLoc(Loc); in isNotFromSourceFile() local 950 FileID FID = SM.getFileID(FileLoc); in isNotFromSourceFile()
|
| /openbsd-src/gnu/llvm/clang/lib/ExtractAPI/ |
| H A D | ExtractAPIConsumer.cpp | 170 auto FileLoc = SM.getFileLoc(Loc); in operator ()() local 171 FileID FID = SM.getFileID(FileLoc); in operator ()()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | CommentLexer.cpp | 738 const CommandTraits &Traits, SourceLocation FileLoc, in Lexer() argument 742 FileLoc(FileLoc), ParseCommands(ParseCommands), in Lexer()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-rc/ |
| H A D | ResourceScriptStmt.cpp | 254 return OS << FileLoc << "\n"; in log()
|
| H A D | ResourceScriptStmt.h | 693 StringRef FileLoc; variable 699 : RCResource(Flags), Type(ResourceType), FileLoc(FileLocation), in UserDefinedResource()
|
| H A D | ResourceFileWriter.cpp | 1307 return appendFile(Res->FileLoc); in writeUserDefinedBody()
|
| /openbsd-src/gnu/llvm/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 1718 SourceLocation FileLoc = SourceLocation::getFileLoc(Entry.getOffset()); in translateLineCol() local 1721 return FileLoc; in translateLineCol() 1739 return FileLoc.getLocWithOffset(Size); in translateLineCol() 1746 return FileLoc.getLocWithOffset(FilePos); in translateLineCol() 1753 return FileLoc.getLocWithOffset(FilePos + i); in translateLineCol()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.h | 577 SourceLocation FileLoc);
|
| H A D | CGDebugInfo.cpp | 3276 SourceLocation FileLoc) { in CreateTempMacroFile() argument 3277 llvm::DIFile *FName = getOrCreateFile(FileLoc); in CreateTempMacroFile()
|
| /openbsd-src/gnu/llvm/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 5650 SourceLocation FileLoc = SM.getFileLoc(Loc); in associateDeclWithFile() local 5651 assert(SM.isLocalSourceLocation(FileLoc)); in associateDeclWithFile() 5654 std::tie(FID, Offset) = SM.getDecomposedLoc(FileLoc); in associateDeclWithFile()
|