summaryrefslogtreecommitdiffstats
path: root/clang/test/Misc/pragma-attribute-supported-attributes-list.test
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2019-06-03 18:36:33 +0000
committerErich Keane <erich.keane@intel.com>2019-06-03 18:36:33 +0000
commitbf37536a351a2db55efe830437866010ae050eea (patch)
tree0461135e2f85fd0422730863abd3eda088f24710 /clang/test/Misc/pragma-attribute-supported-attributes-list.test
parent81ef625080cb7097044b4461fee0ac5567a44c75 (diff)
downloadbcm5719-llvm-bf37536a351a2db55efe830437866010ae050eea.tar.gz
bcm5719-llvm-bf37536a351a2db55efe830437866010ae050eea.zip
Make NoThrow FunctionLike, make FunctionLike include references, fix
prettyprint __declspec(nothrow) should work on function pointers as well as function references, so this changes it to FunctionLike. Additionally, FunctionLike needed to be modified to permit function references. Finally, the TypePrinter didn't properly print the NoThrow exception specifier, so make sure we get that right as well. llvm-svn: 362435
Diffstat (limited to 'clang/test/Misc/pragma-attribute-supported-attributes-list.test')
-rw-r--r--clang/test/Misc/pragma-attribute-supported-attributes-list.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Misc/pragma-attribute-supported-attributes-list.test b/clang/test/Misc/pragma-attribute-supported-attributes-list.test
index f85c89ae015..6e07e8e8111 100644
--- a/clang/test/Misc/pragma-attribute-supported-attributes-list.test
+++ b/clang/test/Misc/pragma-attribute-supported-attributes-list.test
@@ -86,7 +86,7 @@
// CHECK-NEXT: NoSplitStack (SubjectMatchRule_function)
// CHECK-NEXT: NoStackProtector (SubjectMatchRule_function)
// CHECK-NEXT: NoThreadSafetyAnalysis (SubjectMatchRule_function)
-// CHECK-NEXT: NoThrow (SubjectMatchRule_function)
+// CHECK-NEXT: NoThrow (SubjectMatchRule_hasType_functionType)
// CHECK-NEXT: NotTailCalled (SubjectMatchRule_function)
// CHECK-NEXT: OSConsumed (SubjectMatchRule_variable_is_parameter)
// CHECK-NEXT: OSReturnsNotRetained (SubjectMatchRule_function, SubjectMatchRule_objc_method, SubjectMatchRule_objc_property, SubjectMatchRule_variable_is_parameter)
OpenPOWER on IntegriCloud