Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/APINotes/
H A DAPINotesWriter.h66 void addObjCProperty(ContextID CtxID, llvm::StringRef Name,
77 void addObjCMethod(ContextID CtxID, ObjCSelectorRef Selector,
86 void addCXXMethod(ContextID CtxID, llvm::StringRef Name,
94 void addField(ContextID CtxID, llvm::StringRef Name, const FieldInfo &Info,
H A DAPINotesReader.h130 lookupObjCProperty(ContextID CtxID, llvm::StringRef Name, bool IsInstance);
140 VersionedInfo<ObjCMethodInfo> lookupObjCMethod(ContextID CtxID,
149 VersionedInfo<FieldInfo> lookupField(ContextID CtxID, llvm::StringRef Name);
158 VersionedInfo<CXXMethodInfo> lookupCXXMethod(ContextID CtxID,
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesReader.cpp306 auto CtxID = endian::readNext<uint32_t, llvm::endianness::little>(Data); in ReadKey() local
308 return {CtxID, NameID}; in ReadKey()
474 auto CtxID = endian::readNext<uint32_t, llvm::endianness::little>(Data); in ReadKey() local
476 return {CtxID, NameID}; in ReadKey()
497 auto CtxID = endian::readNext<uint32_t, llvm::endianness::little>(Data); in ReadKey() local
499 return {CtxID, NameID}; in ReadKey()
520 auto CtxID = endian::readNext<uint32_t, llvm::endianness::little>(Data); in ReadKey() local
522 return {CtxID, NameID}; in ReadKey()
574 auto CtxID = endian::readNext<uint32_t, llvm::endianness::little>(Data); in ReadKey() local
577 return {CtxID, NameID}; in ReadKey()
[all …]
H A DAPINotesYAMLCompiler.cpp874 ContextID CtxID = in convertContext() local
892 convertMethod(method, CtxID, C.Name, SwiftVersion); in convertContext()
922 Writer.addObjCProperty(CtxID, Property.Name, in convertContext()
926 Writer.addObjCProperty(CtxID, Property.Name, true, PI, SwiftVersion); in convertContext()
927 Writer.addObjCProperty(CtxID, Property.Name, false, PI, SwiftVersion); in convertContext()
939 ContextID CtxID = in convertNamespaceContext() local
943 convertTopLevelItems(Context(CtxID, ContextKind::Namespace), in convertNamespaceContext()
1065 std::optional<ContextID> CtxID = in convertTopLevelItems() local
1078 convertContext(CtxID, Class, ContextKind::ObjCClass, SwiftVersion); in convertTopLevelItems()
1091 convertContext(CtxID, Protocol, ContextKind::ObjCProtocol, SwiftVersion); in convertTopLevelItems()
[all …]
H A DAPINotesWriter.cpp1470 void APINotesWriter::addObjCProperty(ContextID CtxID, StringRef Name, in addObjCProperty() argument
1476 ->ObjCProperties[std::make_tuple(CtxID.Value, NameID, IsInstanceProperty)] in addObjCProperty()
1480 void APINotesWriter::addObjCMethod(ContextID CtxID, ObjCSelectorRef Selector, in addObjCMethod() argument
1485 auto Key = std::tuple<unsigned, unsigned, char>{CtxID.Value, SelID, in addObjCMethod()
1492 assert(Implementation->ParentContexts.contains(CtxID.Value)); in addObjCMethod()
1493 uint32_t ParentCtxID = Implementation->ParentContexts[CtxID.Value]; in addObjCMethod()
1496 Implementation->ContextNames[CtxID.Value]); in addObjCMethod()
1515 void APINotesWriter::addCXXMethod(ContextID CtxID, llvm::StringRef Name, in addCXXMethod() argument
1519 SingleDeclTableKey Key(CtxID.Value, NameID); in addCXXMethod()
1523 void APINotesWriter::addField(ContextID CtxID, llvm::StringRef Name, in addField() argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAPINotes.cpp945 auto CtxID = Reader->lookupTagID(CurrentTag->getName(), Ctx); in UnwindTagContext() local
946 if (!CtxID) in UnwindTagContext()
948 Ctx = api_notes::Context(*CtxID, api_notes::ContextKind::Tag); in UnwindTagContext()