/llvm-project/clang-tools-extra/clangd/unittests/ |
H A D | RenameTests.cpp | 1044 const bool HeaderFile = true; in TEST() local 1051 nullptr, HeaderFile}, in TEST() 1058 "not eligible for indexing", HeaderFile}, in TEST() 1063 "not a supported kind", HeaderFile}, in TEST() 1072 HeaderFile}, in TEST() 1079 "not a supported kind", HeaderFile}, in TEST() 1085 "no symbol", HeaderFile}, in TEST() 1092 nullptr, HeaderFile, "newName:"}, in TEST() 1099 HeaderFile}, in TEST() 1105 nullptr, HeaderFile, " in TEST() [all...] |
H A D | HeadersTests.cpp | 104 return HeaderFile{std::string(Header), in __anona7be645f0202() 399 auto Inserting = HeaderFile{HeaderPath, /*Verbatim=*/false}; in TEST_F() 400 auto Verbatim = HeaderFile{"<x>", /*Verbatim=*/true}; in TEST_F() 415 std::string HeaderFile = "__preamble_patch__.h"; 423 FS.Files[HeaderFile] = HeaderContents; 431 CDB.ExtraClangFlags = {"-include", testPath(HeaderFile)}; 392 std::string HeaderFile = "__preamble_patch__.h"; TEST_F() local
|
H A D | DiagnosticsTests.cpp | 1136 URIForFile HeaderFile = in TEST() 1168 NoteInHeader.AbsFile = std::string(HeaderFile.file()); in TEST() 1235 NoteInHeaderDRI.location.uri = HeaderFile; in buildIndexWithSymbol() 1115 URIForFile HeaderFile = TEST() local
|
/llvm-project/clang/include/clang/InstallAPI/ |
H A D | HeaderFile.h | 52 class HeaderFile { 69 HeaderFile() = delete; 70 HeaderFile(StringRef FullPath, HeaderType Type, 93 bool operator==(const HeaderFile &Other) const { 101 bool operator<(const HeaderFile &Other) const { 131 bool match(const HeaderFile &Header); 150 using HeaderSeq = std::vector<HeaderFile>;
|
H A D | Context.h | 63 void addKnownHeader(const HeaderFile &H);
|
/llvm-project/clang-tools-extra/clangd/ |
H A D | Headers.cpp | 138 bool HeaderFile::valid() const { in valid() 143 llvm::Expected<HeaderFile> toHeaderFile(llvm::StringRef Header, in toHeaderFile() 146 return HeaderFile{Header.str(), /*Verbatim=*/true}; in toHeaderFile() 155 return HeaderFile{std::move(*IncludePath), /*Verbatim=*/true}; in toHeaderFile() 160 return HeaderFile{std::move(*Resolved), /*Verbatim=*/false}; in toHeaderFile() 272 PathRef DeclaringHeader, const HeaderFile &InsertedHeader) const { in shouldInsertInclude() 285 IncludeInserter::calculateIncludePath(const HeaderFile &InsertedHeader, in calculateIncludePath()
|
H A D | Headers.h | 42 struct HeaderFile { 60 /// Creates a `HeaderFile` from \p Header which can be either a URI or a literal 62 llvm::Expected<HeaderFile> toHeaderFile(llvm::StringRef Header, 236 const HeaderFile &InsertedHeader) const; 250 calculateIncludePath(const HeaderFile &InsertedHeader, 40 struct HeaderFile { global() struct 58 VerbatimHeaderFile global() argument
|
H A D | CodeComplete.cpp | 238 if (auto HeaderFile = toHeaderFile(*Header, FileName)) { in overloadSet() 240 Inserter->calculateIncludePath(*HeaderFile, FileName)) in overloadSet() 244 HeaderFile.takeError()); in overloadSet() 237 if (auto HeaderFile = toHeaderFile(*Header, FileName)) { overloadSet() local
|
/llvm-project/clang/lib/InstallAPI/ |
H A D | HeaderFile.cpp | 15 llvm::Regex HeaderFile::getFrameworkIncludeRule() { in getFrameworkIncludeRule() 30 HeaderFile::getFrameworkIncludeRule().match(FullPath, &Matches); in createIncludeHeaderName() 69 bool HeaderGlob::match(const HeaderFile &Header) { in match()
|
H A D | CMakeLists.txt | 15 HeaderFile.cpp
|
H A D | Frontend.cpp | 109 void InstallAPIContext::addKnownHeader(const HeaderFile &H) { in addKnownHeader() 141 for (const HeaderFile &H : Ctx.InputHeaders) { in createInputBuffer()
|
H A D | FileList.cpp | 125 HeaderFile{PathStr, *Type, /*IncludeName=*/"", Language}); in parseHeaders()
|
/llvm-project/clang/unittests/InstallAPI/ |
H A D | HeaderFileTest.cpp | 17 TEST(HeaderFile, FrameworkIncludes) { in TEST() argument 70 TEST(HeaderFile, DylibIncludes) { in TEST() argument
|
/llvm-project/libc/newhdrgen/ |
H A D | yaml_to_classes.py |
|
H A D | header.py |
|
/llvm-project/llvm/utils/gn/secondary/clang/lib/InstallAPI/ |
H A D | BUILD.gn | 16 "HeaderFile.cpp",
|
/llvm-project/clang/unittests/Basic/ |
H A D | SourceManagerTest.cpp | 314 FileEntryRef HeaderFile = FileMgr.getVirtualFileRef( in TEST_F() 316 SourceMgr.overrideFileContents(HeaderFile, std::move(HeaderBuf)); in TEST_F() 319 FileID HeaderFileID = SourceMgr.getOrCreateFileID(HeaderFile, SrcMgr::C_User); in TEST_F() 477 FileEntryRef HeaderFile = in TEST_F() 479 SourceMgr.overrideFileContents(HeaderFile, std::move(Buf)); in TEST_F() 492 auto FooFID = SourceMgr.getOrCreateFileID(HeaderFile, clang::SrcMgr::C_User); in TEST_F() 509 SourceMgr.getOrCreateFileID(HeaderFile, clang::SrcMgr::C_User)); in TEST_F() 313 FileEntryRef HeaderFile = FileMgr.getVirtualFileRef( TEST_F() local
|
/llvm-project/clang/tools/clang-installapi/ |
H A D | Options.cpp | 14 #include "clang/InstallAPI/HeaderFile.h" 976 for (HeaderFile &Header : Ctx.InputHeaders) { in createContext() 982 for (HeaderFile &Header : Ctx.InputHeaders) { in createContext() 999 auto It = find_if(Ctx.InputHeaders, [&Regex, Type](const HeaderFile &H) { in createContext() 1009 auto BeginPos = find_if(Ctx.InputHeaders, [](const HeaderFile &H) { in createContext()
|
/llvm-project/clang-tools-extra/include-cleaner/unittests/ |
H A D | AnalysisTest.cpp | 121 auto HeaderFile = Header(*AST.fileManager().getOptionalFileRef("header.h")); in TEST_F() 133 Pair(Code.point("foo"), UnorderedElementsAre(HeaderFile)), in TEST_F() 115 auto HeaderFile = Header(*AST.fileManager().getOptionalFileRef("header.h")); TEST_F() local
|
/llvm-project/clang/lib/ExtractAPI/ |
H A D | ExtractAPIConsumer.cpp | 34 #include "clang/InstallAPI/HeaderFile.h" 150 clang::installapi::HeaderFile::getFrameworkIncludeRule().match( in getRelativeIncludeName()
|
/llvm-project/lldb/source/Symbol/ |
H A D | Symbol.cpp | 410 ENUM_TO_CSTRING(HeaderFile); in GetTypeAsString()
|