Home
last modified time | relevance | path

Searched refs:HeaderFile (Results 1 – 21 of 21) sorted by relevance

/llvm-project/clang-tools-extra/clangd/unittests/
H A DRenameTests.cpp1044 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 DHeadersTests.cpp104 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 DDiagnosticsTests.cpp1136 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 DHeaderFile.h52 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 DContext.h63 void addKnownHeader(const HeaderFile &H);
/llvm-project/clang-tools-extra/clangd/
H A DHeaders.cpp138 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 DHeaders.h42 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 DCodeComplete.cpp238 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 DHeaderFile.cpp15 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 DCMakeLists.txt15 HeaderFile.cpp
H A DFrontend.cpp109 void InstallAPIContext::addKnownHeader(const HeaderFile &H) { in addKnownHeader()
141 for (const HeaderFile &H : Ctx.InputHeaders) { in createInputBuffer()
H A DFileList.cpp125 HeaderFile{PathStr, *Type, /*IncludeName=*/"", Language}); in parseHeaders()
/llvm-project/clang/unittests/InstallAPI/
H A DHeaderFileTest.cpp17 TEST(HeaderFile, FrameworkIncludes) { in TEST() argument
70 TEST(HeaderFile, DylibIncludes) { in TEST() argument
/llvm-project/libc/newhdrgen/
H A Dyaml_to_classes.py
H A Dheader.py
/llvm-project/llvm/utils/gn/secondary/clang/lib/InstallAPI/
H A DBUILD.gn16 "HeaderFile.cpp",
/llvm-project/clang/unittests/Basic/
H A DSourceManagerTest.cpp314 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 DOptions.cpp14 #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 DAnalysisTest.cpp121 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 DExtractAPIConsumer.cpp34 #include "clang/InstallAPI/HeaderFile.h"
150 clang::installapi::HeaderFile::getFrameworkIncludeRule().match( in getRelativeIncludeName()
/llvm-project/lldb/source/Symbol/
H A DSymbol.cpp410 ENUM_TO_CSTRING(HeaderFile); in GetTypeAsString()