Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesFormat.h257 struct ContextTableKey { struct
264 ContextTableKey(uint32_t parentContextID, uint8_t contextKind, in ContextTableKey() function
269 ContextTableKey(std::optional<Context> context, IdentifierID nameID) in ContextTableKey() function
281 inline bool operator==(const ContextTableKey &lhs, const ContextTableKey &rhs) { argument
320 template <> struct DenseMapInfo<clang::api_notes::ContextTableKey> {
321 static inline clang::api_notes::ContextTableKey getEmptyKey() {
322 return clang::api_notes::ContextTableKey();
325 static inline clang::api_notes::ContextTableKey getTombstoneKey() {
326 return clang::api_notes::ContextTableKey{
336 static bool isEqual(const clang::api_notes::ContextTableKey &lhs,
[all …]
H A DAPINotesWriter.cpp44 llvm::DenseMap<ContextTableKey,
80 ContextTableKey,
88 ContextTableKey,
102 llvm::DenseMap<ContextTableKey,
109 llvm::DenseMap<ContextTableKey,
341 using key_type = ContextTableKey;
1323 ContextTableKey CtxKey(ParentCtxID, in addObjCMethod()
1349 ContextTableKey Key(Ctx, VariableID); in addGlobalVariable()
1358 ContextTableKey Key(Ctx, NameID); in addGlobalFunction()
1372 ContextTableKey Key(Ctx, TagID); in addTag()
[all …]
H A DAPINotesReader.cpp180 using internal_key_type = ContextTableKey;
444 : public VersionedTableInfo<GlobalVariableTableInfo, ContextTableKey,
471 : public VersionedTableInfo<GlobalFunctionTableInfo, ContextTableKey,
521 : public VersionedTableInfo<TagTableInfo, ContextTableKey, TagInfo> {
578 : public VersionedTableInfo<TypedefTableInfo, ContextTableKey,
1842 ContextTableKey(-1, (uint8_t)ContextKind::ObjCClass, *ClassID)); in lookupObjCClassID()
1877 ContextTableKey(-1, (uint8_t)ContextKind::ObjCProtocol, *classID)); in lookupObjCProtocolID()
1947 ContextTableKey Key(Ctx, *NameID); in lookupGlobalVariable()
1966 ContextTableKey Key(Ctx, *NameID); in lookupGlobalFunction()
2000 ContextTableKey Key(Ctx, *NameID); in lookupTag()
[all …]