Home
last modified time | relevance | path

Searched refs:ContextTableKey (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesFormat.h296 struct ContextTableKey { struct
301 ContextTableKey() : parentContextID(-1), contextKind(-1), contextID(-1) {} in ContextTableKey() argument
303 ContextTableKey(uint32_t parentContextID, uint8_t contextKind, in ContextTableKey() function
308 ContextTableKey(std::optional<ContextID> ParentContextID, ContextKind Kind, in ContextTableKey() function
313 ContextTableKey(std::optional<Context> ParentContext, ContextKind Kind, in ContextTableKey() function
315 : ContextTableKey(ParentContext ? std::make_optional(ParentContext->id) in ContextTableKey()
325 inline bool operator==(const ContextTableKey &lhs, const ContextTableKey &rhs) { argument
390 template <> struct DenseMapInfo<clang::api_notes::ContextTableKey> {
391 static inline clang::api_notes::ContextTableKey getEmptyKey() {
392 return clang::api_notes::ContextTableKey();
[all …]
H A DAPINotesWriter.cpp44 llvm::DenseMap<ContextTableKey,
350 using key_type = ContextTableKey;
1438 ContextTableKey Key(RawParentCtxID, static_cast<uint8_t>(Kind), NameID); in addContext()
1494 ContextTableKey CtxKey(ParentCtxID, in addObjCMethod()
H A DAPINotesReader.cpp182 using internal_key_type = ContextTableKey;
2092 ContextTableKey(-1, (uint8_t)ContextKind::ObjCClass, *ClassID)); in lookupObjCClassID()
2127 ContextTableKey(-1, (uint8_t)ContextKind::ObjCProtocol, *classID)); in lookupObjCProtocolID()
2286 ContextTableKey(ParentCtx, ContextKind::Tag, *TagID)); in lookupTagID()