summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/cstyle-cast.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-05 00:04:01 +0000
committerChris Lattner <sabre@nondot.org>2010-09-05 00:04:01 +0000
commit53fa04909cd51ee3cbcf09ad4f8dcb9b03d3f199 (patch)
tree923b389404e28498cf67e0cb89078ebae7d08b78 /clang/test/SemaCXX/cstyle-cast.cpp
parent959cf8aede1755fb7df3aafd7dff9fa9ce172f8f (diff)
downloadbcm5719-llvm-53fa04909cd51ee3cbcf09ad4f8dcb9b03d3f199.tar.gz
bcm5719-llvm-53fa04909cd51ee3cbcf09ad4f8dcb9b03d3f199.zip
make clang print types as "const int *" instead of "int const*",
which is should have done from the beginning. As usual, the most fun with this sort of change is updating all the testcases. llvm-svn: 113090
Diffstat (limited to 'clang/test/SemaCXX/cstyle-cast.cpp')
-rw-r--r--clang/test/SemaCXX/cstyle-cast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/cstyle-cast.cpp b/clang/test/SemaCXX/cstyle-cast.cpp
index ccb25f00c24..12495ecdc5c 100644
--- a/clang/test/SemaCXX/cstyle-cast.cpp
+++ b/clang/test/SemaCXX/cstyle-cast.cpp
@@ -226,6 +226,6 @@ void memptrs()
void (structure::*psf)() = 0;
(void)(int (structure::*)())(psf);
- (void)(void (structure::*)())(psi); // expected-error {{C-style cast from 'int const structure::*' to 'void (structure::*)()' is not allowed}}
+ (void)(void (structure::*)())(psi); // expected-error {{C-style cast from 'const int structure::*' to 'void (structure::*)()' is not allowed}}
(void)(int structure::*)(psf); // expected-error {{C-style cast from 'void (structure::*)()' to 'int structure::*' is not allowed}}
}
OpenPOWER on IntegriCloud