Home
last modified time | relevance | path

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

/freebsd/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,
151 VersionedInfo<CXXMethodInfo> lookupCXXMethod(ContextID CtxID,
186 std::optional<ContextID>
213 std::optional<ContextID>
215 std::optional<ContextID> ParentNamespaceID = std::nullopt);
H A DAPINotesWriter.h56 ContextID addContext(std::optional<ContextID> ParentCtxID,
66 void addObjCProperty(ContextID CtxID, llvm::StringRef Name,
77 void addObjCMethod(ContextID CtxID, ObjCSelectorRef Selector,
86 void addCXXMethod(ContextID CtxID, llvm::StringRef Name,
H A DTypes.h787 class ContextID {
791 explicit ContextID(unsigned value) : Value(value) {} in ContextID() function
802 ContextID id;
805 Context(ContextID id, ContextKind kind) : id(id), kind(kind) {} in Context()
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesFormat.h290 ContextTableKey(std::optional<ContextID> ParentContextID, ContextKind Kind, in ContextTableKey()
291 uint32_t ContextID) in ContextTableKey()
293 contextKind(static_cast<uint8_t>(Kind)), contextID(ContextID) {} in ContextTableKey()
296 uint32_t ContextID) in ContextTableKey()
299 Kind, ContextID) {} in ContextTableKey()
H A DAPINotesReader.cpp1922 -> std::optional<ContextID> { in lookupObjCClassID()
1937 return ContextID(*KnownID); in lookupObjCClassID()
1945 std::optional<ContextID> CtxID = lookupObjCClassID(Name); in lookupObjCClassInfo()
1957 -> std::optional<ContextID> { in lookupObjCProtocolID()
1972 return ContextID(*KnownID); in lookupObjCProtocolID()
1980 std::optional<ContextID> CtxID = lookupObjCProtocolID(Name); in lookupObjCProtocolInfo()
1991 auto APINotesReader::lookupObjCProperty(ContextID CtxID, llvm::StringRef Name, in lookupObjCProperty()
2009 auto APINotesReader::lookupObjCMethod(ContextID CtxID, ObjCSelectorRef Selector, in lookupObjCMethod()
2028 auto APINotesReader::lookupCXXMethod(ContextID CtxID, llvm::StringRef Name) in lookupCXXMethod()
2101 -> std::optional<ContextID> { in lookupTagID()
[all …]
H A DAPINotesYAMLCompiler.cpp746 void convertMethod(const Method &M, ContextID ClassID, StringRef ClassName, in convertMethod()
788 void convertContext(std::optional<ContextID> ParentContextID, const Class &C, in convertContext()
801 ContextID CtxID = in convertContext()
864 void convertNamespaceContext(std::optional<ContextID> ParentContextID, in convertNamespaceContext()
871 ContextID CtxID = in convertNamespaceContext()
893 std::optional<ContextID> ParentContextID = in convertTagContext()
894 ParentContext ? std::optional<ContextID>(ParentContext->id) in convertTagContext()
972 std::optional<ContextID> CtxID = in convertTopLevelItems()
H A DAPINotesWriter.cpp623 context_block::ContextIDLayout ContextID(Stream); in writeContextBlock() local
624 ContextID.emit(Scratch, Offset, HashTableBlob); in writeContextBlock()
1327 ContextID APINotesWriter::addContext(std::optional<ContextID> ParentCtxID, in addContext()
1363 return ContextID(Known->second.first); in addContext()
1366 void APINotesWriter::addObjCProperty(ContextID CtxID, StringRef Name, in addObjCProperty()
1376 void APINotesWriter::addObjCMethod(ContextID CtxID, ObjCSelectorRef Selector, in addObjCMethod()
1411 void APINotesWriter::addCXXMethod(ContextID CtxID, llvm::StringRef Name, in addCXXMethod()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAPINotes.cpp807 std::optional<api_notes::ContextID> NamespaceID; in ProcessAPINotes()
936 -> std::optional<api_notes::ContextID> { in ProcessAPINotes()
1019 -> std::optional<api_notes::ContextID> { in ProcessAPINotes()