Home
last modified time | relevance | path

Searched refs:ContextID (Results 1 – 6 of 6) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/include/clang/APINotes/
H A DAPINotesReader.h97 std::optional<ContextID> lookupObjCClassID(llvm::StringRef Name);
111 std::optional<ContextID> lookupObjCProtocolID(llvm::StringRef Name);
130 lookupObjCProperty(ContextID CtxID, llvm::StringRef Name, bool IsInstance);
140 VersionedInfo<ObjCMethodInfo> lookupObjCMethod(ContextID CtxID,
192 std::optional<ContextID>
194 std::optional<ContextID> ParentNamespaceID = std::nullopt);
H A DAPINotesWriter.h45 ContextID addObjCContext(std::optional<ContextID> ParentCtxID,
55 void addObjCProperty(ContextID CtxID, llvm::StringRef Name,
66 void addObjCMethod(ContextID CtxID, ObjCSelectorRef Selector,
H A DTypes.h745 class ContextID {
749 explicit ContextID(unsigned value) : Value(value) {} in ContextID() function
759 ContextID id;
762 Context(ContextID id, ContextKind kind) : id(id), kind(kind) {} in Context()
/freebsd-14.2/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesReader.cpp1831 -> std::optional<ContextID> { in lookupObjCClassID()
1846 return ContextID(*KnownID); in lookupObjCClassID()
1854 std::optional<ContextID> CtxID = lookupObjCClassID(Name); in lookupObjCClassInfo()
1866 -> std::optional<ContextID> { in lookupObjCProtocolID()
1881 return ContextID(*KnownID); in lookupObjCProtocolID()
1889 std::optional<ContextID> CtxID = lookupObjCProtocolID(Name); in lookupObjCProtocolInfo()
1900 auto APINotesReader::lookupObjCProperty(ContextID CtxID, llvm::StringRef Name, in lookupObjCProperty()
1918 auto APINotesReader::lookupObjCMethod(ContextID CtxID, ObjCSelectorRef Selector, in lookupObjCMethod()
2029 llvm::StringRef Name, std::optional<ContextID> ParentNamespaceID) in lookupNamespaceID()
2030 -> std::optional<ContextID> { in lookupNamespaceID()
[all …]
H A DAPINotesYAMLCompiler.cpp742 void convertMethod(const Method &M, ContextID ClassID, StringRef ClassName, in convertMethod()
784 void convertContext(std::optional<ContextID> ParentContextID, const Class &C, in convertContext()
797 ContextID CtxID = in convertContext()
860 void convertNamespaceContext(std::optional<ContextID> ParentContextID, in convertNamespaceContext()
867 ContextID CtxID = in convertNamespaceContext()
878 std::optional<ContextID> CtxID = in convertTopLevelItems()
H A DAPINotesWriter.cpp1260 ContextID APINotesWriter::addObjCContext(std::optional<ContextID> ParentCtxID, in addObjCContext()
1296 return ContextID(Known->second.first); in addObjCContext()
1299 void APINotesWriter::addObjCProperty(ContextID CtxID, StringRef Name, in addObjCProperty()
1309 void APINotesWriter::addObjCMethod(ContextID CtxID, ObjCSelectorRef Selector, in addObjCMethod()