diff options
author | Anders Carlsson <andersca@mac.com> | 2010-04-23 02:20:12 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-04-23 02:20:12 +0000 |
commit | 58e24a8fd86214151f84dbd1fc1c57da3bf9caab (patch) | |
tree | d1465a6ce566db9b705dbf22ce862ebf18ddb94c /clang/test/SemaCXX/default-assignment-operator.cpp | |
parent | 3c1db570b261747ec1752954e105dcfcac2ee1ac (diff) | |
download | bcm5719-llvm-58e24a8fd86214151f84dbd1fc1c57da3bf9caab.tar.gz bcm5719-llvm-58e24a8fd86214151f84dbd1fc1c57da3bf9caab.zip |
Change the 'declared at' diagnostic to say 'declared here'.
llvm-svn: 102163
Diffstat (limited to 'clang/test/SemaCXX/default-assignment-operator.cpp')
-rw-r--r-- | clang/test/SemaCXX/default-assignment-operator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/SemaCXX/default-assignment-operator.cpp b/clang/test/SemaCXX/default-assignment-operator.cpp index d9cb6fc8e56..81e7059257a 100644 --- a/clang/test/SemaCXX/default-assignment-operator.cpp +++ b/clang/test/SemaCXX/default-assignment-operator.cpp @@ -2,14 +2,14 @@ class Base { // expected-error {{cannot define the implicit default assignment operator for 'Base', because non-static reference member 'ref' can't use default assignment operator}} \ // expected-warning{{class 'Base' does not declare any constructor to initialize its non-modifiable members}} - int &ref; // expected-note {{declared at}} \ + int &ref; // expected-note {{declared here}} \ // expected-note{{reference member 'ref' will never be initialized}} }; class X : Base { // // expected-error {{cannot define the implicit default assignment operator for 'X', because non-static const member 'cint' can't use default assignment operator}} public: X(); - const int cint; // expected-note {{declared at}} + const int cint; // expected-note {{declared here}} }; struct Y : X { @@ -74,7 +74,7 @@ void i() { class E1 { // expected-error{{cannot define the implicit default assignment operator for 'E1', because non-static const member 'a' can't use default assignment operator}} public: - const int a; // expected-note{{declared at}} + const int a; // expected-note{{declared here}} E1() : a(0) {} }; |