19 using namespace clang;
29 bool ObjCPropertyAccess) {
39 llvm_unreachable(
"AD_Partial diags should not be delayed");
46 char *MessageData =
nullptr;
48 MessageData =
new char [Msg.size()];
49 memcpy(MessageData, Msg.data(), Msg.size());
59 switch (static_cast<DDKind>(
Kind)) {
AccessedEntity & getAccessData()
Represents an ObjC class declaration.
struct DD DeprecationData
Deprecation.
static DelayedDiagnostic makeAvailability(Sema::AvailabilityDiagnostic AD, SourceLocation Loc, const NamedDecl *D, const ObjCInterfaceDecl *UnknownObjCClass, const ObjCPropertyDecl *ObjCProperty, StringRef Msg, bool ObjCPropertyAccess)
Defines the classes clang::DelayedDiagnostic and clang::AccessedEntity.
Encodes a location in the source. The SourceManager can decode this to get at the full include stack...
Represents one property declaration in an Objective-C interface.