Searched refs:FileContent (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/ |
| H A D | ClangTidyTest.h | 133 for (const auto &FileContent : PathsToContent) { 135 Twine("include/") + FileContent.first, 0, 136 llvm::MemoryBuffer::getMemBuffer(FileContent.second));
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | HeaderSourceSwitchTests.cpp | 263 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 D | CodeCompleteTests.cpp | 868 const std::string FileContent(R"cpp( in TEST() local 874 Server.addDocument(testPath("foo_impl.cpp"), FileContent); in TEST() 2402 Annotations FileContent(R"cpp( in TEST() local 2410 Server.addDocument(File, FileContent.code()); in TEST() 2413 EXPECT_THAT(llvm::cantFail(runSignatureHelp(Server, File, FileContent.point(), in TEST()
|
| /llvm-project-15.0.7/libc/utils/tools/WrapperGen/ |
| H A D | Main.cpp | 75 llvm::StringRef FileContent = ErrorOrBuf.get()->getBuffer().trim(); in getMangledName() local 77 FileContent.split(Lines, '\n'); in getMangledName()
|
| /llvm-project-15.0.7/clang/lib/CrossTU/ |
| H A D | CrossTranslationUnit.cpp | 619 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-15.0.7/llvm/lib/Target/BPF/ |
| H A D | BTFDebug.cpp | 947 if (FileContent.find(FileName) != FileContent.end()) in populateFileContent() 965 FileContent[FileName] = Content; in populateFileContent() 977 if (Line < FileContent[FileName].size()) in constructLineInfo() 978 LineInfo.LineOff = addString(FileContent[FileName][Line]); in constructLineInfo()
|
| H A D | BTFDebug.h | 302 StringMap<std::vector<std::string>> FileContent; variable
|
| /llvm-project-15.0.7/clang/include/clang/CrossTU/ |
| H A D | CrossTranslationUnit.h | 109 StringRef FileContent,
|