Home
last modified time | relevance | path

Searched refs:HeaderType (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/InstallAPI/
H A DHeaderFile.h26 enum class HeaderType { enum
38 inline StringRef getName(const HeaderType T) { in getName()
40 case HeaderType::Public: in getName()
42 case HeaderType::Private: in getName()
44 case HeaderType::Project: in getName()
46 case HeaderType::Unknown: in getName()
56 HeaderType Type;
70 HeaderFile(StringRef FullPath, HeaderType Type,
78 HeaderType getType() const { return Type; } in getType()
90 return Type != HeaderType::Project && !IncludeName.empty(); in useIncludeName()
[all …]
H A DContext.h41 HeaderType Type = HeaderType::Unknown;
72 std::optional<HeaderType> findAndRecordFile(const FileEntry *FE,
76 using HeaderMap = llvm::DenseMap<const FileEntry *, HeaderType>;
83 llvm::DenseMap<StringRef, HeaderType> KnownIncludes;
H A DFrontendRecords.h25 const HeaderType Access;
52 const HeaderType Access, SymbolFlags Flags = SymbolFlags::None,
69 HeaderType Access, bool IsEHType);
85 HeaderType Access);
102 const Decl *D, HeaderType Access,
H A DVisitor.h69 std::optional<HeaderType> getAccessForDecl(const NamedDecl *D) const;
77 const HeaderType Access, bool EmittedVTable = false);
H A DLibrary.h42 void addHeaderFile(StringRef FullPath, HeaderType Type,
H A DDirectoryScanner.h66 llvm::Error scanHeaders(StringRef Path, Library &Lib, HeaderType Type,
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DFrontend.cpp20 const clang::AvailabilityInfo Avail, const Decl *D, const HeaderType Access, in addGlobal()
33 const Decl *D, HeaderType Access, in addObjCInterface()
51 const Decl *D, HeaderType Access) { in addObjCCategory()
61 const clang::AvailabilityInfo Avail, const Decl *D, HeaderType Access, in addObjCIVar()
76 std::optional<HeaderType>
86 if (It->second != HeaderType::Unknown) in findAndRecordFile()
104 KnownFiles.insert({FE, HeaderType::Unknown}); in findAndRecordFile()
136 assert(Ctx.Type != HeaderType::Unknown && in createInputBuffer()
H A DFileList.cpp46 Expected<HeaderType> parseType(const Object *Obj);
67 Expected<HeaderType> Implementation::parseType(const Object *Obj) { in parseType()
74 return HeaderType::Public; in parseType()
76 return HeaderType::Private; in parseType()
78 return HeaderType::Project; in parseType()
121 if (*Type == HeaderType::Project) { in parseHeaders()
H A DDirectoryScanner.cpp53 if (Error Err = scanHeaders(DirPublic->getName(), Lib, HeaderType::Public, in scanForUnwrappedLibraries()
58 if (Error Err = scanHeaders(DirPrivate->getName(), Lib, HeaderType::Private, in scanForUnwrappedLibraries()
90 HeaderType Type, StringRef BasePath, in scanHeaders()
246 if (Error Err = scanHeaders(Curr, Framework, HeaderType::Public, Curr)) in scanFrameworkDirectory()
252 if (Error Err = scanHeaders(Curr, Framework, HeaderType::Private, Curr)) in scanFrameworkDirectory()
H A DHeaderFile.cpp66 HeaderGlob::HeaderGlob(StringRef GlobString, Regex &&Rule, HeaderType Type) in HeaderGlob()
80 HeaderType Type) { in create()
H A DVisitor.cpp102 std::optional<HeaderType>
123 HeaderType Access = Header.value(); in getAccessForDecl()
124 assert(Access != HeaderType::Unknown && "unexpected access level for global"); in getAccessForDecl()
480 const HeaderType Access, in emitVTableSymbols()
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DMappedHash.h
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DMachO.cpp32 template <typename HeaderType>
38 HeaderType Hdr; in checkMachORelocatableObject()
39 memcpy(&Hdr, Data.data(), sizeof(HeaderType)); in checkMachORelocatableObject()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DHeaderIncludeGen.cpp57 bool ShouldShowHeader(SrcMgr::CharacteristicKind HeaderType) { in ShouldShowHeader() argument
58 if (!DepOpts.IncludeSystemHeaders && isSystem(HeaderType)) in ShouldShowHeader()
/freebsd/contrib/file/magic/Magdir/
H A Dsniffer473 # HeaderType; exact type of this header; probably always 0x4000
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DDriver.cpp4397 const types::ID HeaderType = lookupHeaderTypeForSourceType(InputType); in handleArguments() local
4399 Action *ClangClPch = C.MakeAction<InputAction>(*InputArg, HeaderType); in handleArguments()
4400 for (phases::ID Phase : types::getCompilationPhases(HeaderType)) in handleArguments()