]> granicus.if.org Git - clang/commitdiff
Update pragma-attribute-supported-attributes-list.test.
authorManoj Gupta <manojgupta@google.com>
Wed, 9 May 2018 22:05:53 +0000 (22:05 +0000)
committerManoj Gupta <manojgupta@google.com>
Wed, 9 May 2018 22:05:53 +0000 (22:05 +0000)
Update the test to include the new attribute NoStackProtector
to fix the build fails.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@331928 91177308-0d34-0410-b5e6-96231b3b80d8

test/Misc/pragma-attribute-supported-attributes-list.test

index c911c503f8c931e3518f24940e63f6f4ac91f4a2..dd8d09e061da3a6c77dbcec9689a7e2f1fdd276d 100644 (file)
@@ -2,7 +2,7 @@
 
 // The number of supported attributes should never go down!
 
-// CHECK: #pragma clang attribute supports 68 attributes:
+// CHECK: #pragma clang attribute supports 69 attributes:
 // CHECK-NEXT: AMDGPUFlatWorkGroupSize (SubjectMatchRule_function)
 // CHECK-NEXT: AMDGPUNumSGPR (SubjectMatchRule_function)
 // CHECK-NEXT: AMDGPUNumVGPR (SubjectMatchRule_function)
@@ -41,6 +41,7 @@
 // CHECK-NEXT: NoSanitize (SubjectMatchRule_function, SubjectMatchRule_objc_method, SubjectMatchRule_variable_is_global)
 // CHECK-NEXT: NoSanitizeSpecific (SubjectMatchRule_function, SubjectMatchRule_variable_is_global)
 // CHECK-NEXT: NoSplitStack (SubjectMatchRule_function)
+// CHECK-NEXT: NoStackProtector (SubjectMatchRule_function)
 // CHECK-NEXT: NoThrow (SubjectMatchRule_function)
 // CHECK-NEXT: NotTailCalled (SubjectMatchRule_function)
 // CHECK-NEXT: ObjCBoxable (SubjectMatchRule_record)