Home
last modified time | relevance | path

Searched refs:FileContent (Results 1 – 7 of 7) sorted by relevance

/llvm-project/clang-tools-extra/unittests/clang-tidy/
H A DClangTidyTest.h133 for (const auto &FileContent : PathsToContent) {
135 Twine("include/") + FileContent.first, 0,
136 llvm::MemoryBuffer::getMemBuffer(FileContent.second));
/llvm-project/clang-tools-extra/clangd/unittests/
H A DHeaderSourceSwitchTests.cpp263 const std::string FileContent = R"cpp( in TEST() local
267 FS.Files[CppPath] = FileContent; in TEST()
271 runAddDocument(Server, CppPath, FileContent); in TEST()
H A DCodeCompleteTests.cpp1026 const std::string FileContent(R"cpp( in TEST()
1032 Server.addDocument(testPath("foo_impl.cpp"), FileContent); in TEST()
2704 Annotations FileContent(R"cpp( in TEST()
2712 Server.addDocument(File, FileContent.code()); in TEST()
2715 EXPECT_THAT(llvm::cantFail(runSignatureHelp(Server, File, FileContent.point(), in TEST()
990 const std::string FileContent(R"cpp( TEST() local
2581 Annotations FileContent(R"cpp( TEST() local
/llvm-project/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp619 parseInvocationList(StringRef FileContent, llvm::sys::path::Style PathStyle) { in parseInvocationList() argument
624 llvm::yaml::Stream InvocationFile(FileContent, SM); in parseInvocationList()
701 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> FileContent = in lazyInitInvocationList() local
703 if (!FileContent) { in lazyInitInvocationList()
707 std::unique_ptr<llvm::MemoryBuffer> ContentBuffer = std::move(*FileContent); in lazyInitInvocationList()
/llvm-project/clang/include/clang/CrossTU/
H A DCrossTranslationUnit.h109 StringRef FileContent,
/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp999 if (FileContent.contains(FileName)) in populateFileContent()
1017 FileContent[FileName] = Content; in constructLineInfo()
1029 if (Line < FileContent[FileName].size()) in emitCommonHeader()
1030 LineInfo.LineOff = addString(FileContent[FileName][Line]); in emitCommonHeader()
H A DBTFDebug.h302 StringMap<std::vector<std::string>> FileContent; variable