Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/unittests/clang-tidy/
DClangTidyTest.h133 for (const auto &FileContent : PathsToContent) {
135 Twine("include/") + FileContent.first, 0,
136 llvm::MemoryBuffer::getMemBuffer(FileContent.second));
/external/llvm-project/clang-tools-extra/clangd/unittests/
DHeaderSourceSwitchTests.cpp261 const std::string FileContent = R"cpp( in TEST() local
265 FS.Files[CppPath] = FileContent; in TEST()
269 runAddDocument(Server, CppPath, FileContent); in TEST()
DCodeCompleteTests.cpp851 const std::string FileContent(R"cpp( in TEST() local
857 Server.addDocument(testPath("foo_impl.cpp"), FileContent); in TEST()
2167 Annotations FileContent(R"cpp( in TEST() local
2175 Server.addDocument(File, FileContent.code()); in TEST()
2179 llvm::cantFail(runSignatureHelp(Server, File, FileContent.point())) in TEST()
/external/llvm-project/clang-tools-extra/clang-query/tool/
DClangQuery.cpp74 std::string FileContent((std::istreambuf_iterator<char>(Input)), in runCommandsInFile()
77 StringRef FileContentRef(FileContent); in runCommandsInFile()
/external/llvm-project/clang/lib/CrossTU/
DCrossTranslationUnit.cpp591 parseInvocationList(StringRef FileContent, llvm::sys::path::Style PathStyle) { in parseInvocationList() argument
596 llvm::yaml::Stream InvocationFile(FileContent, SM); in parseInvocationList()
671 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> FileContent = in lazyInitInvocationList() local
673 if (!FileContent) in lazyInitInvocationList()
676 std::unique_ptr<llvm::MemoryBuffer> ContentBuffer = std::move(*FileContent); in lazyInitInvocationList()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBTFDebug.cpp673 if (FileContent.find(FileName) != FileContent.end()) in populateFileContent()
691 FileContent[FileName] = Content; in populateFileContent()
703 if (Line < FileContent[FileName].size()) in constructLineInfo()
704 LineInfo.LineOff = addString(FileContent[FileName][Line]); in constructLineInfo()
DBTFDebug.h249 StringMap<std::vector<std::string>> FileContent; variable
/external/llvm-project/llvm/lib/Target/BPF/
DBTFDebug.cpp709 if (FileContent.find(FileName) != FileContent.end()) in populateFileContent()
727 FileContent[FileName] = Content; in populateFileContent()
739 if (Line < FileContent[FileName].size()) in constructLineInfo()
740 LineInfo.LineOff = addString(FileContent[FileName][Line]); in constructLineInfo()
DBTFDebug.h255 StringMap<std::vector<std::string>> FileContent; variable
/external/llvm-project/clang/include/clang/CrossTU/
DCrossTranslationUnit.h107 StringRef FileContent,