diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2016-12-20 02:43:58 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2016-12-20 02:43:58 +0000 |
| commit | cbe1eba0c6df4a6dd5a19fd4f6ba5e05cce7f101 (patch) | |
| tree | 3bd3074ff8b96c27d560f369d531d2990e828bbf /clang/test/SemaCXX/member-init.cpp | |
| parent | dc6e0169ae208471f204543a0d4643b34e712a96 (diff) | |
| download | bcm5719-llvm-cbe1eba0c6df4a6dd5a19fd4f6ba5e05cce7f101.tar.gz bcm5719-llvm-cbe1eba0c6df4a6dd5a19fd4f6ba5e05cce7f101.zip | |
Fix the spelling of 'bitfield' in diagnostics to be consistently 'bit-field'.
The latter agrees with most existing diagnostics and the C and C++ standards.
Differential Revision: https://reviews.llvm.org/D26530
llvm-svn: 290159
Diffstat (limited to 'clang/test/SemaCXX/member-init.cpp')
| -rw-r--r-- | clang/test/SemaCXX/member-init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/member-init.cpp b/clang/test/SemaCXX/member-init.cpp index 20e4cec5bfd..105c2e49822 100644 --- a/clang/test/SemaCXX/member-init.cpp +++ b/clang/test/SemaCXX/member-init.cpp @@ -1,7 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -fcxx-exceptions -verify -std=c++11 -Wall %s struct Bitfield { - int n : 3 = 7; // expected-error {{bitfield member cannot have an in-class initializer}} + int n : 3 = 7; // expected-error {{bit-field member cannot have an in-class initializer}} }; int a; |

