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.h278 struct ContextTableKey { struct
283 ContextTableKey() : parentContextID(-1), contextKind(-1), contextID(-1) {} in ContextTableKey() argument
285 ContextTableKey(uint32_t parentContextID, uint8_t contextKind, in ContextTableKey() argument
290 ContextTableKey(std::optional<ContextID> ParentContextID, ContextKind Kind, in ContextTableKey() argument
295 ContextTableKey(std::optional<Context> ParentContext, ContextKind Kind, in ContextTableKey() argument
297 : ContextTableKey(ParentContext ? std::make_optional(ParentContext->id) in ContextTableKey()
307 inline bool operator==(const ContextTableKey &lhs, const ContextTableKey &rhs) { argument
372 template <> struct DenseMapInfo<clang::api_notes::ContextTableKey> {
373 static inline clang::api_notes::ContextTableKey getEmptyKey() {
374 return clang::api_notes::ContextTableKey();
[all …]
H A DAPINotesWriter.cpp44 llvm::DenseMap<ContextTableKey,
351 using key_type = ContextTableKey;
1334 ContextTableKey Key(RawParentCtxID, static_cast<uint8_t>(Kind), NameID); in addContext()
1390 ContextTableKey CtxKey(ParentCtxID, in addObjCMethod()
H A DAPINotesReader.cpp183 using internal_key_type = ContextTableKey;
1933 ContextTableKey(-1, (uint8_t)ContextKind::ObjCClass, *ClassID)); in lookupObjCClassID()
1968 ContextTableKey(-1, (uint8_t)ContextKind::ObjCProtocol, *classID)); in lookupObjCProtocolID()
2110 ContextTableKey(ParentCtx, ContextKind::Tag, *TagID)); in lookupTagID()