summaryrefslogtreecommitdiff
path: root/test/Preprocessor/macro_with_initializer_list.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2013-07-23 21:06:45 +0000
committerRichard Trieu <rtrieu@google.com>2013-07-23 21:06:45 +0000
commit679efe14c65492c74eaa6dc98671abcdbfac8da8 (patch)
tree72f832c7f9c61f8177626f9171fe59919477d7fa /test/Preprocessor/macro_with_initializer_list.cpp
parentf7400864c4a046b9a07a2a3740ddc3a4c03cbb46 (diff)
downloadclang-679efe14c65492c74eaa6dc98671abcdbfac8da8.tar.gz
clang-679efe14c65492c74eaa6dc98671abcdbfac8da8.tar.bz2
clang-679efe14c65492c74eaa6dc98671abcdbfac8da8.tar.xz
Changed "an macro" to "a macro" in diagnostic note.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186988 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/macro_with_initializer_list.cpp')
-rw-r--r--test/Preprocessor/macro_with_initializer_list.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Preprocessor/macro_with_initializer_list.cpp b/test/Preprocessor/macro_with_initializer_list.cpp
index 4f5bf6d1db..74966f9130 100644
--- a/test/Preprocessor/macro_with_initializer_list.cpp
+++ b/test/Preprocessor/macro_with_initializer_list.cpp
@@ -150,13 +150,13 @@ void test() {
INIT(e, {1, 2, 3});
// expected-error@-1 {{too many arguments provided}}
// expected-error@-2 {{use of undeclared identifier}}
- // expected-note@-3 {{cannot use initializer list at the beginning of an macro argument}}
+ // expected-note@-3 {{cannot use initializer list at the beginning of a macro argument}}
// Can't be fixed by parentheses.
INIT(e, {1, 2, 3} + {1, 2, 3});
// expected-error@-1 {{too many arguments provided}}
// expected-error@-2 {{use of undeclared identifier}}
- // expected-note@-3 {{cannot use initializer list at the beginning of an macro argument}}
+ // expected-note@-3 {{cannot use initializer list at the beginning of a macro argument}}
}
// CHECK: fix-it:"{{.*}}macro_with_initializer_list.cpp":{145:11-145:11}:"("
@@ -178,5 +178,5 @@ void test2() {
{1,2,3}, {1,2,3}, {1,2,3}, {1,2,3}, {1,2,3}, {1,2,3});
// expected-error@-2 {{too many arguments provided}}
// expected-error@-3 {{use of undeclared identifier}}
- // expected-note@-4 {{cannot use initializer list at the beginning of an macro argument}}
+ // expected-note@-4 {{cannot use initializer list at the beginning of a macro argument}}
}