File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -335,6 +335,7 @@ class DeclAttribute : public AttributeBase {
335
335
UserInaccessible = 1ull << (unsigned (DeclKindIndex::Last_Decl) + 7 ),
336
336
};
337
337
338
+ LLVM_READNONE
338
339
static uint64_t getOptions (DeclAttrKind DK);
339
340
340
341
uint64_t getOptions () const {
@@ -386,6 +387,7 @@ class DeclAttribute : public AttributeBase {
386
387
return canAttributeAppearOnDecl (getKind (), D);
387
388
}
388
389
390
+ LLVM_READONLY
389
391
static bool canAttributeAppearOnDecl (DeclAttrKind DK, const Decl *D);
390
392
391
393
// / Returns true if multiple instances of an attribute kind
@@ -439,6 +441,7 @@ class DeclAttribute : public AttributeBase {
439
441
return isNotSerialized (getKind ());
440
442
}
441
443
444
+ LLVM_READNONE
442
445
static bool canAttributeAppearOnDeclKind (DeclAttrKind DAK, DeclKind DK);
443
446
444
447
// / Returns the source name of the attribute, without the @ or any arguments.
You can’t perform that action at this time.
0 commit comments