Home
last modified time | relevance | path

Searched refs:HeaderType (Results 1 – 14 of 14) 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.cpp21 const clang::AvailabilityInfo Avail, const Decl *D, const HeaderType Access, in addGlobal()
34 const Decl *D, HeaderType Access, in addObjCInterface()
52 const Decl *D, HeaderType Access) { in addObjCCategory()
62 const clang::AvailabilityInfo Avail, const Decl *D, HeaderType Access, in addObjCIVar()
77 std::optional<HeaderType>
87 if (It->second != HeaderType::Unknown) in findAndRecordFile()
105 KnownFiles.insert({FE, HeaderType::Unknown}); in findAndRecordFile()
137 assert(Ctx.Type != HeaderType::Unknown && in createInputBuffer()
H A DFileList.cpp48 Expected<HeaderType> parseType(const Object *Obj);
69 Expected<HeaderType> Implementation::parseType(const Object *Obj) { in parseType()
76 return HeaderType::Public; in parseType()
78 return HeaderType::Private; in parseType()
80 return HeaderType::Project; in parseType()
123 if (*Type == HeaderType::Project) { in parseHeaders()
H A DDirectoryScanner.cpp54 if (Error Err = scanHeaders(DirPublic->getName(), Lib, HeaderType::Public, in scanForUnwrappedLibraries()
59 if (Error Err = scanHeaders(DirPrivate->getName(), Lib, HeaderType::Private, in scanForUnwrappedLibraries()
91 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.cpp103 std::optional<HeaderType>
124 HeaderType Access = Header.value(); in getAccessForDecl()
125 assert(Access != HeaderType::Unknown && "unexpected access level for global"); in getAccessForDecl()
481 const HeaderType Access, in emitVTableSymbols()
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DMappedHash.h
/freebsd/contrib/file/magic/Magdir/
H A Dsniffer470 # HeaderType; exact type of this header; probably always 0x4000
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DDriver.cpp4087 const types::ID HeaderType = lookupHeaderTypeForSourceType(InputType); in handleArguments() local
4089 Action *ClangClPch = C.MakeAction<InputAction>(*InputArg, HeaderType); in handleArguments()
4090 for (phases::ID Phase : types::getCompilationPhases(HeaderType)) in handleArguments()