summaryrefslogtreecommitdiff
path: root/test/Sema/xray-always-instrument-attr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/xray-always-instrument-attr.cpp')
-rw-r--r--test/Sema/xray-always-instrument-attr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/xray-always-instrument-attr.cpp b/test/Sema/xray-always-instrument-attr.cpp
index 8d42837ec6bff..d6a33955cd746 100644
--- a/test/Sema/xray-always-instrument-attr.cpp
+++ b/test/Sema/xray-always-instrument-attr.cpp
@@ -1,7 +1,7 @@
// RUN: %clang_cc1 %s -verify -fsyntax-only -std=c++11 -x c++
void foo [[clang::xray_always_instrument]] ();
-struct [[clang::xray_always_instrument]] a { int x; }; // expected-warning {{'xray_always_instrument' attribute only applies to functions and methods}}
+struct [[clang::xray_always_instrument]] a { int x; }; // expected-warning {{'xray_always_instrument' attribute only applies to functions and Objective-C methods}}
class b {
void c [[clang::xray_always_instrument]] ();