summaryrefslogtreecommitdiff
path: root/test/Misc
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2017-09-28 20:08:03 +0000
committerErich Keane <erich.keane@intel.com>2017-09-28 20:08:03 +0000
commit84d048779fa39c7719a96474f0f856231fa73780 (patch)
tree2c07fc6910359091dc72dd17d2ce8a5efebd7b11 /test/Misc
parent2fbd83aec3207a5e8a493170389baa676082e3b5 (diff)
Add Documentation to attribute-nothrow. Additionally, limit to functions.
Attribute nothrow is only allowed on functions, so I added that. Additionally, it lacks any documentation, so I added some. Differential Revision: https://reviews.llvm.org/D38202 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314456 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Misc')
-rw-r--r--test/Misc/pragma-attribute-supported-attributes-list.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Misc/pragma-attribute-supported-attributes-list.test b/test/Misc/pragma-attribute-supported-attributes-list.test
index 7529a2425d..da024a4394 100644
--- a/test/Misc/pragma-attribute-supported-attributes-list.test
+++ b/test/Misc/pragma-attribute-supported-attributes-list.test
@@ -40,6 +40,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: NoThrow (SubjectMatchRule_function)
// CHECK-NEXT: NotTailCalled (SubjectMatchRule_function)
// CHECK-NEXT: ObjCBoxable (SubjectMatchRule_record)
// CHECK-NEXT: ObjCMethodFamily (SubjectMatchRule_objc_method)