Home
last modified time | relevance | path

Searched refs:FileStart (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/clang/unittests/Rewrite/
H A DRewriterTest.cpp20 SourceLocation FileStart; member
24 SourceLocation makeLoc(int Off) { return FileStart.getLocWithOffset(Off); } in makeLoc()
32 FileStart = AST->getStartOfMainFileID(); in RangeTypeTest()
/llvm-project-15.0.7/clang/lib/Lex/
H A DHeaderMap.cpp69 const char *FileStart = File.getBufferStart(); in checkHeader() local
72 const HMapHeader *Header = reinterpret_cast<const HMapHeader*>(FileStart); in checkHeader()
H A DPPLexerChange.cpp81 SourceLocation FileStart = SourceMgr.getLocForStartOfFile(FID); in EnterSourceFile() local
83 << std::string(SourceMgr.getBufferName(FileStart)) << ""; in EnterSourceFile()
/llvm-project-15.0.7/clang/lib/Rewrite/
H A DHTMLRewrite.cpp278 const char* FileStart = Buf.getBufferStart(); in AddHeaderFooterInternalBuiltinCSS() local
282 SourceLocation EndLoc = StartLoc.getLocWithOffset(FileEnd-FileStart); in AddHeaderFooterInternalBuiltinCSS()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DFrontendActions.cpp1192 SourceLocation FileStart = SM.getLocForStartOfFile(MainFileID); in ExecuteAction() local
1195 Path.push_back(std::make_pair(ModuleID, FileStart)); in ExecuteAction()
1196 auto ModResult = CI.loadModule(FileStart, Path, Module::Hidden, false); in ExecuteAction()
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DSampleProfWriter.h302 uint64_t FileStart; variable
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DModuleMap.h59 virtual void moduleMapFileRead(SourceLocation FileStart, in moduleMapFileRead() argument
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DSampleProfWriter.cpp112 SecHdrTable.push_back({Type, Entry.Flags, SectionStart - FileStart, in addNewSection()
738 FileStart = OS.tell(); in writeHeader()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp212 FileStart, enumerator
218 } CurrentState = FileStart;
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp895 const char *FileStart = Buf.getBufferStart(); in HandlePiece() local
1083 unsigned DisplayPos = LineEnd - FileStart; in HandlePiece()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp846 SourceLocation FileStart = getStartOfFileOrMacro(Loc); in handleFileExit() local
847 if (StartLocs.insert(FileStart).second) { in handleFileExit()
848 SourceRegions.emplace_back(*ParentCounter, FileStart, in handleFileExit()
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterTest.cpp6606 SourceLocation FileStart = ToSM.getLocForStartOfFile(ToSM.getMainFileID()); in TEST_P() local
6609 EXPECT_EQ(ToSM.getIncludeLoc(FileID1), FileStart); in TEST_P()
6610 EXPECT_EQ(ToSM.getIncludeLoc(FileID2), FileStart); in TEST_P()