aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/x86-attr-force-align-arg-pointer.c
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-01-25 03:51:08 +0000
committerJohn McCall <rjmccall@apple.com>2011-01-25 03:51:08 +0000
commitd6b8de0e7b01196bd2bee207feb81bc409a5baf9 (patch)
treed2f404eaa98c30b3f9d2a58af9b2d2db8ea6eddb /test/Sema/x86-attr-force-align-arg-pointer.c
parentc7ad38168d329d778e884a8b6400bcbed8dc85ee (diff)
Change the wording of the bad-decl-for-attribute warning and error
to make it clear that we're talking about the declarations and not the types. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124175 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/x86-attr-force-align-arg-pointer.c')
-rw-r--r--test/Sema/x86-attr-force-align-arg-pointer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/x86-attr-force-align-arg-pointer.c b/test/Sema/x86-attr-force-align-arg-pointer.c
index b406a77e04..5d36e9af19 100644
--- a/test/Sema/x86-attr-force-align-arg-pointer.c
+++ b/test/Sema/x86-attr-force-align-arg-pointer.c
@@ -1,6 +1,6 @@
// RUN: %clang_cc1 -triple i386-apple-darwin10 -fsyntax-only -verify %s
-int a __attribute__((force_align_arg_pointer)); // expected-warning{{attribute only applies to function types}}
+int a __attribute__((force_align_arg_pointer)); // expected-warning{{attribute only applies to functions}}
// It doesn't matter where the attribute is located.
void b(void) __attribute__((force_align_arg_pointer));