Searched refs:FileContent (Results 1 – 10 of 10) sorted by relevance
/external/llvm-project/clang-tools-extra/unittests/clang-tidy/ |
D | ClangTidyTest.h | 133 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/ |
D | HeaderSourceSwitchTests.cpp | 261 const std::string FileContent = R"cpp( in TEST() local 265 FS.Files[CppPath] = FileContent; in TEST() 269 runAddDocument(Server, CppPath, FileContent); in TEST()
|
D | CodeCompleteTests.cpp | 851 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/ |
D | ClangQuery.cpp | 74 std::string FileContent((std::istreambuf_iterator<char>(Input)), in runCommandsInFile() 77 StringRef FileContentRef(FileContent); in runCommandsInFile()
|
/external/llvm-project/clang/lib/CrossTU/ |
D | CrossTranslationUnit.cpp | 591 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/ |
D | BTFDebug.cpp | 673 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()
|
D | BTFDebug.h | 249 StringMap<std::vector<std::string>> FileContent; variable
|
/external/llvm-project/llvm/lib/Target/BPF/ |
D | BTFDebug.cpp | 709 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()
|
D | BTFDebug.h | 255 StringMap<std::vector<std::string>> FileContent; variable
|
/external/llvm-project/clang/include/clang/CrossTU/ |
D | CrossTranslationUnit.h | 107 StringRef FileContent,
|