diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-02-24 17:13:15 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-02-24 17:13:15 +0000 |
commit | 5fa05cb906e9ddd34ef2ae2a872014aeaf4bc04d (patch) | |
tree | d205180a95baacd8b766f9dc275aa8992e4e1ac6 /test/SemaCXX/shift.cpp | |
parent | f8291a190cc6765630312911f441d9e23564eda2 (diff) |
Simplify messages as requested by Chris.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126389 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/shift.cpp')
-rw-r--r-- | test/SemaCXX/shift.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaCXX/shift.cpp b/test/SemaCXX/shift.cpp index c5e50128c9..d5a5bed9ea 100644 --- a/test/SemaCXX/shift.cpp +++ b/test/SemaCXX/shift.cpp @@ -5,8 +5,8 @@ #define WORD_BIT (sizeof(int) * CHAR_BIT) template <int N> void f() { - (void)(N << 30); // expected-warning {{the promoted type of the shift expression is 'int'}} - (void)(30 << N); // expected-warning {{the promoted type of the shift expression is 'int'}} + (void)(N << 30); // expected-warning {{bits to represent, but 'int' only has}} + (void)(30 << N); // expected-warning {{bits to represent, but 'int' only has}} } void test() { |