Searched refs:HeaderFile (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | RenameTests.cpp | 849 const bool HeaderFile = true; in TEST() local 856 nullptr, HeaderFile}, in TEST() 868 "not a supported kind", HeaderFile}, in TEST() 881 "no symbol", HeaderFile}, in TEST() 888 "not a supported kind", HeaderFile}, in TEST() 894 "not a supported kind", !HeaderFile}, in TEST() 901 "multiple symbols", !HeaderFile}, in TEST() 906 "no symbol", !HeaderFile}, in TEST() 912 "no symbol", !HeaderFile}, in TEST() 920 "conflict", !HeaderFile, "Conflict"}, in TEST() [all …]
|
| H A D | HeadersTests.cpp | 103 return HeaderFile{std::string(Header), in __anon8a17411c0202() 344 auto Inserting = HeaderFile{HeaderPath, /*Verbatim=*/false}; in TEST() 345 auto Verbatim = HeaderFile{"<x>", /*Verbatim=*/true}; in TEST() 360 std::string HeaderFile = "__preamble_patch__.h"; in TEST_F() local 368 FS.Files[HeaderFile] = HeaderContents; in TEST_F() 376 CDB.ExtraClangFlags = {"-include", testPath(HeaderFile)}; in TEST_F()
|
| H A D | DiagnosticsTests.cpp | 954 URIForFile HeaderFile = in TEST() local 985 NoteInHeader.AbsFile = std::string(HeaderFile.file()); in TEST() 1051 NoteInHeaderDRI.location.uri = HeaderFile; in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Headers.cpp | 201 bool HeaderFile::valid() const { in valid() 206 llvm::Expected<HeaderFile> toHeaderFile(llvm::StringRef Header, in toHeaderFile() 209 return HeaderFile{Header.str(), /*Verbatim=*/true}; in toHeaderFile() 218 return HeaderFile{std::move(*IncludePath), /*Verbatim=*/true}; in toHeaderFile() 223 return HeaderFile{std::move(*Resolved), /*Verbatim=*/false}; in toHeaderFile() 317 PathRef DeclaringHeader, const HeaderFile &InsertedHeader) const { in shouldInsertInclude() 330 IncludeInserter::calculateIncludePath(const HeaderFile &InsertedHeader, in calculateIncludePath()
|
| H A D | Headers.h | 45 struct HeaderFile { struct 56 llvm::Expected<HeaderFile> toHeaderFile(llvm::StringRef Header, 229 const HeaderFile &InsertedHeader) const; 243 calculateIncludePath(const HeaderFile &InsertedHeader,
|
| H A D | CodeComplete.cpp | 204 if (auto HeaderFile = toHeaderFile(*Header, FileName)) { in overloadSet() local 206 Inserter->calculateIncludePath(*HeaderFile, FileName)) in overloadSet() 210 HeaderFile.takeError()); in overloadSet()
|
| /llvm-project-15.0.7/clang/unittests/Basic/ |
| H A D | SourceManagerTest.cpp | 241 const FileEntry *HeaderFile = in TEST_F() local 243 SourceMgr.overrideFileContents(HeaderFile, std::move(HeaderBuf)); in TEST_F() 246 FileID HeaderFileID = SourceMgr.getOrCreateFileID(HeaderFile, SrcMgr::C_User); in TEST_F()
|
| /llvm-project-15.0.7/lldb/source/Symbol/ |
| H A D | Symbol.cpp | 357 ENUM_TO_CSTRING(HeaderFile); in GetTypeAsString()
|