diff options
author | John McCall <rjmccall@apple.com> | 2011-01-25 03:51:08 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-01-25 03:51:08 +0000 |
commit | d6b8de0e7b01196bd2bee207feb81bc409a5baf9 (patch) | |
tree | d2f404eaa98c30b3f9d2a58af9b2d2db8ea6eddb /test/Sema/attr-nodebug.c | |
parent | c7ad38168d329d778e884a8b6400bcbed8dc85ee (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/attr-nodebug.c')
-rw-r--r-- | test/Sema/attr-nodebug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/attr-nodebug.c b/test/Sema/attr-nodebug.c index 203c2a7300..6865de0602 100644 --- a/test/Sema/attr-nodebug.c +++ b/test/Sema/attr-nodebug.c @@ -1,6 +1,6 @@ // RUN: %clang_cc1 %s -verify -fsyntax-only -int a __attribute__((nodebug)); // expected-warning {{'nodebug' attribute only applies to function types}} +int a __attribute__((nodebug)); // expected-warning {{'nodebug' attribute only applies to functions}} void t1() __attribute__((nodebug)); |