@@ -324,13 +324,10 @@ class Spelling<string name, string variety, int version = 1> {
324
324
}
325
325
326
326
class GNU<string name> : Spelling<name, "GNU">;
327
- class Declspec<string name> : Spelling<name, "Declspec"> {
328
- bit PrintOnLeft = 1;
329
- }
327
+ class Declspec<string name> : Spelling<name, "Declspec">;
330
328
class Microsoft<string name> : Spelling<name, "Microsoft">;
331
329
class CXX11<string namespace, string name, int version = 1>
332
330
: Spelling<name, "CXX11", version> {
333
- bit CanPrintOnLeft = 0;
334
331
string Namespace = namespace;
335
332
}
336
333
class C23<string namespace, string name, int version = 1>
@@ -596,12 +593,6 @@ class AttrSubjectMatcherAggregateRule<AttrSubject subject> {
596
593
def SubjectMatcherForNamed : AttrSubjectMatcherAggregateRule<Named>;
597
594
598
595
class Attr {
599
- // Specifies that when printed, this attribute is meaningful on the
600
- // 'left side' of the declaration.
601
- bit CanPrintOnLeft = 1;
602
- // Specifies that when printed, this attribute is required to be printed on
603
- // the 'left side' of the declaration.
604
- bit PrintOnLeft = 0;
605
596
// The various ways in which an attribute can be spelled in source
606
597
list<Spelling> Spellings;
607
598
// The things to which an attribute can appertain
@@ -937,7 +928,6 @@ def AVRSignal : InheritableAttr, TargetSpecificAttr<TargetAVR> {
937
928
}
938
929
939
930
def AsmLabel : InheritableAttr {
940
- let CanPrintOnLeft = 0;
941
931
let Spellings = [CustomKeyword<"asm">, CustomKeyword<"__asm__">];
942
932
let Args = [
943
933
// Label specifies the mangled name for the decl.
@@ -1534,7 +1524,6 @@ def AllocSize : InheritableAttr {
1534
1524
}
1535
1525
1536
1526
def EnableIf : InheritableAttr {
1537
- let CanPrintOnLeft = 0;
1538
1527
// Does not have a [[]] spelling because this attribute requires the ability
1539
1528
// to parse function arguments but the attribute is not written in the type
1540
1529
// position.
@@ -3171,7 +3160,6 @@ def Unavailable : InheritableAttr {
3171
3160
}
3172
3161
3173
3162
def DiagnoseIf : InheritableAttr {
3174
- let CanPrintOnLeft = 0;
3175
3163
// Does not have a [[]] spelling because this attribute requires the ability
3176
3164
// to parse function arguments but the attribute is not written in the type
3177
3165
// position.
0 commit comments