31 bool ObjCPropertyAccess) {
32 assert(!Locs.empty());
36 DD.
Loc = Locs.front();
41 char *MessageData =
nullptr;
43 MessageData =
new char [Msg.size()];
44 memcpy(MessageData, Msg.data(), Msg.size());
Defines the classes clang::DelayedDiagnostic and clang::AccessedEntity.
__DEVICE__ void * memcpy(void *__a, const void *__b, size_t __c)
This represents a decl that may have a name.
Represents an ObjC class declaration.
Represents one property declaration in an Objective-C interface.
Encodes a location in the source.
A diagnostic message which has been conditionally emitted pending the complete parsing of the current...
static DelayedDiagnostic makeAvailability(AvailabilityResult AR, ArrayRef< SourceLocation > Locs, const NamedDecl *ReferringDecl, const NamedDecl *OffendingDecl, const ObjCInterfaceDecl *UnknownObjCClass, const ObjCPropertyDecl *ObjCProperty, StringRef Msg, bool ObjCPropertyAccess)
AccessedEntity & getAccessData()
struct AD AvailabilityData
The JSON file list parser is used to communicate input to InstallAPI.
AvailabilityResult
Captures the result of checking the availability of a declaration.