2017-04-18 22:33:39 +08:00
|
|
|
// RUN: clang-tblgen -gen-clang-test-pragma-attribute-supported-attributes -I%src_include_dir %src_include_dir/clang/Basic/Attr.td -o - | FileCheck %s
|
|
|
|
|
|
|
|
// The number of supported attributes should never go down!
|
|
|
|
|
2018-12-04 08:31:31 +08:00
|
|
|
// CHECK: #pragma clang attribute supports the following attributes:
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: AMDGPUFlatWorkGroupSize (SubjectMatchRule_function)
|
|
|
|
// CHECK-NEXT: AMDGPUNumSGPR (SubjectMatchRule_function)
|
|
|
|
// CHECK-NEXT: AMDGPUNumVGPR (SubjectMatchRule_function)
|
|
|
|
// CHECK-NEXT: AMDGPUWavesPerEU (SubjectMatchRule_function)
|
|
|
|
// CHECK-NEXT: AVRSignal (SubjectMatchRule_function)
|
|
|
|
// CHECK-NEXT: AbiTag (SubjectMatchRule_record_not_is_union, SubjectMatchRule_variable, SubjectMatchRule_function, SubjectMatchRule_namespace)
|
2019-12-05 08:12:50 +08:00
|
|
|
// CHECK-NEXT: AcquireHandle (SubjectMatchRule_function, SubjectMatchRule_type_alias, SubjectMatchRule_variable_is_parameter)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: Alias (SubjectMatchRule_function, SubjectMatchRule_variable_is_global)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: AlignValue (SubjectMatchRule_variable, SubjectMatchRule_type_alias)
|
|
|
|
// CHECK-NEXT: AllocSize (SubjectMatchRule_function)
|
2018-08-22 01:24:06 +08:00
|
|
|
// CHECK-NEXT: AlwaysDestroy (SubjectMatchRule_variable)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: AlwaysInline (SubjectMatchRule_function)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: Annotate ()
|
2018-03-17 21:31:35 +08:00
|
|
|
// CHECK-NEXT: AnyX86NoCfCheck (SubjectMatchRule_hasType_functionType)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: ArcWeakrefUnavailable (SubjectMatchRule_objc_interface)
|
[clang] New __attribute__((__clang_arm_mve_alias)).
This allows you to declare a function with a name of your choice (say
`foo`), but have clang treat it as if it were a builtin function (say
`__builtin_foo`), by writing
static __inline__ __attribute__((__clang_arm_mve_alias(__builtin_foo)))
int foo(args);
I'm intending to use this for the ACLE intrinsics for MVE, which have
to be polymorphic on their argument types and also need to be
implemented by builtins. To avoid having to implement the polymorphism
with several layers of nested _Generic and make error reporting
hideous, I want to make all the user-facing intrinsics correspond
directly to clang builtins, so that after clang resolves
__attribute__((overloadable)) polymorphism it's already holding the
right BuiltinID for the intrinsic it selected.
However, this commit itself just introduces the new attribute, and
doesn't use it for anything.
To avoid unanticipated side effects if this attribute is used to make
aliases to other builtins, there's a restriction mechanism: only
(BuiltinID, alias) pairs that are approved by the function
ArmMveAliasValid() will be permitted. At present, that function
doesn't permit anything, because the Tablegen that will generate its
list of valid pairs isn't yet implemented. So the only test of this
facility is one that checks that an unapproved builtin _can't_ be
aliased.
Reviewers: dmgreen, miyuki, ostannard
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67159
2019-09-02 22:35:09 +08:00
|
|
|
// CHECK-NEXT: ArmMveAlias (SubjectMatchRule_function)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: AssumeAligned (SubjectMatchRule_objc_method, SubjectMatchRule_function)
|
2019-04-12 01:55:30 +08:00
|
|
|
// CHECK-NEXT: Availability ((SubjectMatchRule_record, SubjectMatchRule_enum, SubjectMatchRule_enum_constant, SubjectMatchRule_field, SubjectMatchRule_function, SubjectMatchRule_namespace, SubjectMatchRule_objc_category, SubjectMatchRule_objc_implementation, SubjectMatchRule_objc_interface, SubjectMatchRule_objc_method, SubjectMatchRule_objc_property, SubjectMatchRule_objc_protocol, SubjectMatchRule_record, SubjectMatchRule_type_alias, SubjectMatchRule_variable))
|
2019-11-14 00:50:42 +08:00
|
|
|
// CHECK-NEXT: BPFPreserveAccessIndex (SubjectMatchRule_record)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: CFAuditedTransfer (SubjectMatchRule_function)
|
|
|
|
// CHECK-NEXT: CFConsumed (SubjectMatchRule_variable_is_parameter)
|
cfi-icall: Allow the jump table to be optionally made non-canonical.
The default behavior of Clang's indirect function call checker will replace
the address of each CFI-checked function in the output file's symbol table
with the address of a jump table entry which will pass CFI checks. We refer
to this as making the jump table `canonical`. This property allows code that
was not compiled with ``-fsanitize=cfi-icall`` to take a CFI-valid address
of a function, but it comes with a couple of caveats that are especially
relevant for users of cross-DSO CFI:
- There is a performance and code size overhead associated with each
exported function, because each such function must have an associated
jump table entry, which must be emitted even in the common case where the
function is never address-taken anywhere in the program, and must be used
even for direct calls between DSOs, in addition to the PLT overhead.
- There is no good way to take a CFI-valid address of a function written in
assembly or a language not supported by Clang. The reason is that the code
generator would need to insert a jump table in order to form a CFI-valid
address for assembly functions, but there is no way in general for the
code generator to determine the language of the function. This may be
possible with LTO in the intra-DSO case, but in the cross-DSO case the only
information available is the function declaration. One possible solution
is to add a C wrapper for each assembly function, but these wrappers can
present a significant maintenance burden for heavy users of assembly in
addition to adding runtime overhead.
For these reasons, we provide the option of making the jump table non-canonical
with the flag ``-fno-sanitize-cfi-canonical-jump-tables``. When the jump
table is made non-canonical, symbol table entries point directly to the
function body. Any instances of a function's address being taken in C will
be replaced with a jump table address.
This scheme does have its own caveats, however. It does end up breaking
function address equality more aggressively than the default behavior,
especially in cross-DSO mode which normally preserves function address
equality entirely.
Furthermore, it is occasionally necessary for code not compiled with
``-fsanitize=cfi-icall`` to take a function address that is valid
for CFI. For example, this is necessary when a function's address
is taken by assembly code and then called by CFI-checking C code. The
``__attribute__((cfi_jump_table_canonical))`` attribute may be used to make
the jump table entry of a specific function canonical so that the external
code will end up taking a address for the function that will pass CFI checks.
Fixes PR41972.
Differential Revision: https://reviews.llvm.org/D65629
llvm-svn: 368495
2019-08-10 06:31:59 +08:00
|
|
|
// CHECK-NEXT: CFICanonicalJumpTable (SubjectMatchRule_function)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: CFUnknownTransfer (SubjectMatchRule_function)
|
2018-07-20 22:13:28 +08:00
|
|
|
// CHECK-NEXT: CPUDispatch (SubjectMatchRule_function)
|
|
|
|
// CHECK-NEXT: CPUSpecific (SubjectMatchRule_function)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: CUDAConstant (SubjectMatchRule_variable)
|
|
|
|
// CHECK-NEXT: CUDADevice (SubjectMatchRule_function, SubjectMatchRule_variable)
|
|
|
|
// CHECK-NEXT: CUDAGlobal (SubjectMatchRule_function)
|
|
|
|
// CHECK-NEXT: CUDAHost (SubjectMatchRule_function)
|
|
|
|
// CHECK-NEXT: CUDALaunchBounds (SubjectMatchRule_objc_method, SubjectMatchRule_hasType_functionType)
|
|
|
|
// CHECK-NEXT: CUDAShared (SubjectMatchRule_variable)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: CXX11NoReturn (SubjectMatchRule_function)
|
|
|
|
// CHECK-NEXT: CallableWhen (SubjectMatchRule_function_is_member)
|
Emit !callback metadata and introduce the callback attribute
With commit r351627, LLVM gained the ability to apply (existing) IPO
optimizations on indirections through callbacks, or transitive calls.
The general idea is that we use an abstraction to hide the middle man
and represent the callback call in the context of the initial caller.
It is described in more detail in the commit message of the LLVM patch
r351627, the llvm::AbstractCallSite class description, and the
language reference section on callback-metadata.
This commit enables clang to emit !callback metadata that is
understood by LLVM. It does so in three different cases:
1) For known broker functions declarations that are directly
generated, e.g., __kmpc_fork_call for the OpenMP pragma parallel.
2) For known broker functions that are identified by their name and
source location through the builtin detection, e.g.,
pthread_create from the POSIX thread API.
3) For user annotated functions that carry the "callback(callee, ...)"
attribute. The attribute has to include the name, or index, of
the callback callee and how the passed arguments can be
identified (as many as the callback callee has). See the callback
attribute documentation for detailed information.
Differential Revision: https://reviews.llvm.org/D55483
llvm-svn: 351629
2019-01-19 13:36:54 +08:00
|
|
|
// CHECK-NEXT: Callback (SubjectMatchRule_function)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: Capability (SubjectMatchRule_record, SubjectMatchRule_type_alias)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: CarriesDependency (SubjectMatchRule_variable_is_parameter, SubjectMatchRule_objc_method, SubjectMatchRule_function)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: Cold (SubjectMatchRule_function)
|
|
|
|
// CHECK-NEXT: Common (SubjectMatchRule_variable)
|
2019-09-05 04:30:37 +08:00
|
|
|
// CHECK-NEXT: ConstInit (SubjectMatchRule_variable_is_global)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: Constructor (SubjectMatchRule_function)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: Consumable (SubjectMatchRule_record)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: ConsumableAutoCast (SubjectMatchRule_record)
|
|
|
|
// CHECK-NEXT: ConsumableSetOnRead (SubjectMatchRule_record)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: Convergent (SubjectMatchRule_function)
|
|
|
|
// CHECK-NEXT: DLLExport (SubjectMatchRule_function, SubjectMatchRule_variable, SubjectMatchRule_record, SubjectMatchRule_objc_interface)
|
|
|
|
// CHECK-NEXT: DLLImport (SubjectMatchRule_function, SubjectMatchRule_variable, SubjectMatchRule_record, SubjectMatchRule_objc_interface)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: Destructor (SubjectMatchRule_function)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: DisableTailCalls (SubjectMatchRule_function, SubjectMatchRule_objc_method)
|
|
|
|
// CHECK-NEXT: EnableIf (SubjectMatchRule_function)
|
|
|
|
// CHECK-NEXT: EnumExtensibility (SubjectMatchRule_enum)
|
2018-10-04 23:49:42 +08:00
|
|
|
// CHECK-NEXT: ExcludeFromExplicitInstantiation (SubjectMatchRule_variable, SubjectMatchRule_function, SubjectMatchRule_record)
|
2019-04-12 01:55:30 +08:00
|
|
|
// CHECK-NEXT: ExternalSourceSymbol ((SubjectMatchRule_record, SubjectMatchRule_enum, SubjectMatchRule_enum_constant, SubjectMatchRule_field, SubjectMatchRule_function, SubjectMatchRule_namespace, SubjectMatchRule_objc_category, SubjectMatchRule_objc_implementation, SubjectMatchRule_objc_interface, SubjectMatchRule_objc_method, SubjectMatchRule_objc_property, SubjectMatchRule_objc_protocol, SubjectMatchRule_record, SubjectMatchRule_type_alias, SubjectMatchRule_variable))
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: FlagEnum (SubjectMatchRule_enum)
|
|
|
|
// CHECK-NEXT: Flatten (SubjectMatchRule_function)
|
2018-08-30 08:04:34 +08:00
|
|
|
// CHECK-NEXT: GNUInline (SubjectMatchRule_function)
|
2019-06-26 11:47:37 +08:00
|
|
|
// CHECK-NEXT: HIPPinnedShadow (SubjectMatchRule_variable)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: Hot (SubjectMatchRule_function)
|
|
|
|
// CHECK-NEXT: IBAction (SubjectMatchRule_objc_method_is_instance)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: IFunc (SubjectMatchRule_function)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: InitPriority (SubjectMatchRule_variable)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: InternalLinkage (SubjectMatchRule_variable, SubjectMatchRule_function, SubjectMatchRule_record)
|
|
|
|
// CHECK-NEXT: LTOVisibilityPublic (SubjectMatchRule_record)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: Lockable (SubjectMatchRule_record)
|
2019-02-21 08:19:24 +08:00
|
|
|
// CHECK-NEXT: MIGServerRoutine (SubjectMatchRule_function, SubjectMatchRule_objc_method, SubjectMatchRule_block)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: MSStruct (SubjectMatchRule_record)
|
2017-05-22 20:47:43 +08:00
|
|
|
// CHECK-NEXT: MicroMips (SubjectMatchRule_function)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: MinSize (SubjectMatchRule_function, SubjectMatchRule_objc_method)
|
2018-07-10 03:00:16 +08:00
|
|
|
// CHECK-NEXT: MinVectorWidth (SubjectMatchRule_function)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: Mips16 (SubjectMatchRule_function)
|
2017-07-21 04:34:18 +08:00
|
|
|
// CHECK-NEXT: MipsLongCall (SubjectMatchRule_function)
|
|
|
|
// CHECK-NEXT: MipsShortCall (SubjectMatchRule_function)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: NSConsumed (SubjectMatchRule_variable_is_parameter)
|
|
|
|
// CHECK-NEXT: NSConsumesSelf (SubjectMatchRule_objc_method)
|
|
|
|
// CHECK-NEXT: Naked (SubjectMatchRule_function)
|
2019-09-25 17:31:28 +08:00
|
|
|
// CHECK-NEXT: NoBuiltin (SubjectMatchRule_function)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: NoCommon (SubjectMatchRule_variable)
|
2019-06-08 08:01:21 +08:00
|
|
|
// CHECK-NEXT: NoDebug (SubjectMatchRule_type_alias, SubjectMatchRule_hasType_functionType, SubjectMatchRule_objc_method, SubjectMatchRule_variable_not_is_parameter)
|
2018-08-22 01:24:06 +08:00
|
|
|
// CHECK-NEXT: NoDestroy (SubjectMatchRule_variable)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: NoDuplicate (SubjectMatchRule_function)
|
2017-09-22 08:41:05 +08:00
|
|
|
// CHECK-NEXT: NoEscape (SubjectMatchRule_variable_is_parameter)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: NoInline (SubjectMatchRule_function)
|
|
|
|
// CHECK-NEXT: NoInstrumentFunction (SubjectMatchRule_function)
|
2017-05-22 20:47:43 +08:00
|
|
|
// CHECK-NEXT: NoMicroMips (SubjectMatchRule_function)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: NoMips16 (SubjectMatchRule_function)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: NoSanitize (SubjectMatchRule_function, SubjectMatchRule_objc_method, SubjectMatchRule_variable_is_global)
|
|
|
|
// CHECK-NEXT: NoSanitizeSpecific (SubjectMatchRule_function, SubjectMatchRule_variable_is_global)
|
2019-01-19 01:20:46 +08:00
|
|
|
// CHECK-NEXT: NoSpeculativeLoadHardening (SubjectMatchRule_function, SubjectMatchRule_objc_method)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: NoSplitStack (SubjectMatchRule_function)
|
2018-05-10 06:05:53 +08:00
|
|
|
// CHECK-NEXT: NoStackProtector (SubjectMatchRule_function)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: NoThreadSafetyAnalysis (SubjectMatchRule_function)
|
2019-06-04 02:36:33 +08:00
|
|
|
// CHECK-NEXT: NoThrow (SubjectMatchRule_hasType_functionType)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: NotTailCalled (SubjectMatchRule_function)
|
2018-11-30 10:18:37 +08:00
|
|
|
// CHECK-NEXT: OSConsumed (SubjectMatchRule_variable_is_parameter)
|
2019-01-12 02:02:08 +08:00
|
|
|
// CHECK-NEXT: OSReturnsNotRetained (SubjectMatchRule_function, SubjectMatchRule_objc_method, SubjectMatchRule_objc_property, SubjectMatchRule_variable_is_parameter)
|
|
|
|
// CHECK-NEXT: OSReturnsRetained (SubjectMatchRule_function, SubjectMatchRule_objc_method, SubjectMatchRule_objc_property, SubjectMatchRule_variable_is_parameter)
|
|
|
|
// CHECK-NEXT: OSReturnsRetainedOnNonZero (SubjectMatchRule_variable_is_parameter)
|
|
|
|
// CHECK-NEXT: OSReturnsRetainedOnZero (SubjectMatchRule_variable_is_parameter)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: ObjCBoxable (SubjectMatchRule_record)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: ObjCBridge (SubjectMatchRule_record, SubjectMatchRule_type_alias)
|
|
|
|
// CHECK-NEXT: ObjCBridgeMutable (SubjectMatchRule_record)
|
|
|
|
// CHECK-NEXT: ObjCBridgeRelated (SubjectMatchRule_record)
|
2019-05-30 12:09:01 +08:00
|
|
|
// CHECK-NEXT: ObjCClassStub (SubjectMatchRule_objc_interface)
|
2019-02-14 04:32:37 +08:00
|
|
|
// CHECK-NEXT: ObjCDesignatedInitializer (SubjectMatchRule_objc_method)
|
Implement __attribute__((objc_direct)), __attribute__((objc_direct_members))
__attribute__((objc_direct)) is an attribute on methods declaration, and
__attribute__((objc_direct_members)) on implementation, categories or
extensions.
A `direct` property specifier is added (@property(direct) type name)
These attributes / specifiers cause the method to have no associated
Objective-C metadata (for the property or the method itself), and the
calling convention to be a direct C function call.
The symbol for the method has enforced hidden visibility and such direct
calls are hence unreachable cross image. An explicit C function must be
made if so desired to wrap them.
The implicit `self` and `_cmd` arguments are preserved, however to
maintain compatibility with the usual `objc_msgSend` semantics,
3 fundamental precautions are taken:
1) for instance methods, `self` is nil-checked. On arm64 backends this
typically adds a single instruction (cbz x0, <closest-ret>) to the
codegen, for the vast majority of the cases when the return type is a
scalar.
2) for class methods, because the class may not be realized/initialized
yet, a call to `[self self]` is emitted. When the proper deployment
target is used, this is optimized to `objc_opt_self(self)`.
However, long term we might want to emit something better that the
optimizer can reason about. When inlining kicks in, these calls
aren't optimized away as the optimizer has no idea that a single call
is really necessary.
3) the calling convention for the `_cmd` argument is changed: the caller
leaves the second argument to the call undefined, and the selector is
loaded inside the body when it's referenced only.
As far as error reporting goes, the compiler refuses:
- making any overloads direct,
- making an overload of a direct method,
- implementations marked as direct when the declaration in the
interface isn't (the other way around is allowed, as the direct
attribute is inherited from the declaration),
- marking methods required for protocol conformance as direct,
- messaging an unqualified `id` with a direct method,
- forming any @selector() expression with only direct selectors.
As warnings:
- any inconsistency of direct-related calling convention when
@selector() or messaging is used,
- forming any @selector() expression with a possibly direct selector.
Lastly an `objc_direct_members` attribute is added that can decorate
`@implementation` blocks and causes methods only declared there (and in
no `@interface`) to be automatically direct. When decorating an
`@interface` then all methods and properties declared in this block are
marked direct.
Radar-ID: rdar://problem/2684889
Differential Revision: https://reviews.llvm.org/D69991
Reviewed-By: John McCall
2019-11-08 15:14:58 +08:00
|
|
|
// CHECK-NEXT: ObjCDirect (SubjectMatchRule_objc_method)
|
2020-01-31 10:21:25 +08:00
|
|
|
// CHECK-NEXT: ObjCDirectMembers (SubjectMatchRule_objc_implementation, SubjectMatchRule_objc_category)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: ObjCException (SubjectMatchRule_objc_interface)
|
|
|
|
// CHECK-NEXT: ObjCExplicitProtocolImpl (SubjectMatchRule_objc_protocol)
|
[ObjCARC] Add an new attribute, objc_externally_retained
This attribute, called "objc_externally_retained", exposes clang's
notion of pseudo-__strong variables in ARC. Pseudo-strong variables
"borrow" their initializer, meaning that they don't retain/release
it, instead assuming that someone else is keeping their value alive.
If a function is annotated with this attribute, implicitly strong
parameters of that function aren't implicitly retained/released in
the function body, and are implicitly const. This is useful to expose
for performance reasons, most functions don't need the extra safety
of the retain/release, so programmers can opt out as needed.
This attribute can also apply to declarations of local variables,
with similar effect.
Differential revision: https://reviews.llvm.org/D55865
llvm-svn: 350422
2019-01-05 02:33:06 +08:00
|
|
|
// CHECK-NEXT: ObjCExternallyRetained (SubjectMatchRule_variable_not_is_parameter, SubjectMatchRule_function, SubjectMatchRule_block, SubjectMatchRule_objc_method)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: ObjCMethodFamily (SubjectMatchRule_objc_method)
|
2019-04-12 01:55:34 +08:00
|
|
|
// CHECK-NEXT: ObjCNonLazyClass (SubjectMatchRule_objc_interface, SubjectMatchRule_objc_implementation)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: ObjCPreciseLifetime (SubjectMatchRule_variable)
|
|
|
|
// CHECK-NEXT: ObjCRequiresPropertyDefs (SubjectMatchRule_objc_interface)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: ObjCRequiresSuper (SubjectMatchRule_objc_method)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: ObjCReturnsInnerPointer (SubjectMatchRule_objc_method, SubjectMatchRule_objc_property)
|
|
|
|
// CHECK-NEXT: ObjCRootClass (SubjectMatchRule_objc_interface)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: ObjCRuntimeName (SubjectMatchRule_objc_interface, SubjectMatchRule_objc_protocol)
|
|
|
|
// CHECK-NEXT: ObjCRuntimeVisible (SubjectMatchRule_objc_interface)
|
|
|
|
// CHECK-NEXT: ObjCSubclassingRestricted (SubjectMatchRule_objc_interface)
|
2017-05-04 15:31:20 +08:00
|
|
|
// CHECK-NEXT: OpenCLIntelReqdSubGroupSize (SubjectMatchRule_function)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: OpenCLNoSVM (SubjectMatchRule_variable)
|
|
|
|
// CHECK-NEXT: OptimizeNone (SubjectMatchRule_function, SubjectMatchRule_objc_method)
|
|
|
|
// CHECK-NEXT: Overloadable (SubjectMatchRule_function)
|
2019-07-26 01:50:51 +08:00
|
|
|
// CHECK-NEXT: Owner (SubjectMatchRule_record_not_is_union)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: ParamTypestate (SubjectMatchRule_variable_is_parameter)
|
|
|
|
// CHECK-NEXT: PassObjectSize (SubjectMatchRule_variable_is_parameter)
|
2020-01-05 07:39:19 +08:00
|
|
|
// CHECK-NEXT: PatchableFunctionEntry (SubjectMatchRule_function, SubjectMatchRule_objc_method)
|
2019-07-26 01:50:51 +08:00
|
|
|
// CHECK-NEXT: Pointer (SubjectMatchRule_record_not_is_union)
|
2019-12-05 08:12:50 +08:00
|
|
|
// CHECK-NEXT: ReleaseHandle (SubjectMatchRule_variable_is_parameter)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: RenderScriptKernel (SubjectMatchRule_function)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: ReqdWorkGroupSize (SubjectMatchRule_function)
|
|
|
|
// CHECK-NEXT: Restrict (SubjectMatchRule_function)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: ReturnTypestate (SubjectMatchRule_function, SubjectMatchRule_variable_is_parameter)
|
|
|
|
// CHECK-NEXT: ReturnsNonNull (SubjectMatchRule_objc_method, SubjectMatchRule_function)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: ReturnsTwice (SubjectMatchRule_function)
|
|
|
|
// CHECK-NEXT: ScopedLockable (SubjectMatchRule_record)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: Section (SubjectMatchRule_function, SubjectMatchRule_variable_is_global, SubjectMatchRule_objc_method, SubjectMatchRule_objc_property)
|
|
|
|
// CHECK-NEXT: SetTypestate (SubjectMatchRule_function_is_member)
|
2018-11-28 03:56:46 +08:00
|
|
|
// CHECK-NEXT: SpeculativeLoadHardening (SubjectMatchRule_function, SubjectMatchRule_objc_method)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: SwiftContext (SubjectMatchRule_variable_is_parameter)
|
|
|
|
// CHECK-NEXT: SwiftErrorResult (SubjectMatchRule_variable_is_parameter)
|
|
|
|
// CHECK-NEXT: SwiftIndirectResult (SubjectMatchRule_variable_is_parameter)
|
|
|
|
// CHECK-NEXT: TLSModel (SubjectMatchRule_variable_is_thread_local)
|
|
|
|
// CHECK-NEXT: Target (SubjectMatchRule_function)
|
|
|
|
// CHECK-NEXT: TestTypestate (SubjectMatchRule_function_is_member)
|
2018-02-06 04:23:22 +08:00
|
|
|
// CHECK-NEXT: TrivialABI (SubjectMatchRule_record)
|
2019-12-05 08:12:50 +08:00
|
|
|
// CHECK-NEXT: UseHandle (SubjectMatchRule_variable_is_parameter)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: VecReturn (SubjectMatchRule_record)
|
|
|
|
// CHECK-NEXT: VecTypeHint (SubjectMatchRule_function)
|
|
|
|
// CHECK-NEXT: WarnUnused (SubjectMatchRule_record)
|
2017-04-18 22:33:39 +08:00
|
|
|
// CHECK-NEXT: WarnUnusedResult (SubjectMatchRule_objc_method, SubjectMatchRule_enum, SubjectMatchRule_record, SubjectMatchRule_hasType_functionType)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: Weak (SubjectMatchRule_variable, SubjectMatchRule_function, SubjectMatchRule_record)
|
|
|
|
// CHECK-NEXT: WeakRef (SubjectMatchRule_variable, SubjectMatchRule_function)
|
2019-11-06 02:15:56 +08:00
|
|
|
// CHECK-NEXT: WebAssemblyExportName (SubjectMatchRule_function)
|
2019-01-25 05:20:03 +08:00
|
|
|
// CHECK-NEXT: WebAssemblyImportModule (SubjectMatchRule_function)
|
2019-02-02 06:52:29 +08:00
|
|
|
// CHECK-NEXT: WebAssemblyImportName (SubjectMatchRule_function)
|
2018-09-05 08:28:57 +08:00
|
|
|
// CHECK-NEXT: WorkGroupSizeHint (SubjectMatchRule_function)
|
2017-11-27 04:01:12 +08:00
|
|
|
// CHECK-NEXT: XRayInstrument (SubjectMatchRule_function, SubjectMatchRule_objc_method)
|
|
|
|
// CHECK-NEXT: XRayLogArgs (SubjectMatchRule_function, SubjectMatchRule_objc_method)
|
2018-12-04 08:31:31 +08:00
|
|
|
// CHECK-NEXT: End of supported attributes.
|