summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/cpp11-migrate/LoopConvert/nesting.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-09-02 19:21:12 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-09-02 19:21:12 +0000
commit9051d41a7491ebd7715cd5d35ff1fe2b7f3a13b8 (patch)
tree92c921191321401a6e28ac51caf792649241acef /clang-tools-extra/test/cpp11-migrate/LoopConvert/nesting.cpp
parentb4a43268242c7fbea885fa5e19667181ec2c1e74 (diff)
downloadbcm5719-llvm-9051d41a7491ebd7715cd5d35ff1fe2b7f3a13b8.tar.gz
bcm5719-llvm-9051d41a7491ebd7715cd5d35ff1fe2b7f3a13b8.zip
Update tests to reflect clang r189769 which changes the printing of
'auto const' to 'const auto'. llvm-svn: 189770
Diffstat (limited to 'clang-tools-extra/test/cpp11-migrate/LoopConvert/nesting.cpp')
-rw-r--r--clang-tools-extra/test/cpp11-migrate/LoopConvert/nesting.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/test/cpp11-migrate/LoopConvert/nesting.cpp b/clang-tools-extra/test/cpp11-migrate/LoopConvert/nesting.cpp
index b26cf218d77..33ab5d401b3 100644
--- a/clang-tools-extra/test/cpp11-migrate/LoopConvert/nesting.cpp
+++ b/clang-tools-extra/test/cpp11-migrate/LoopConvert/nesting.cpp
@@ -63,7 +63,7 @@ void f() {
}
// The inner loop is also convertible, but doesn't need to be converted
// immediately. Update this test when that changes!
- // CHECK: for (auto const & elem : NestS) {
+ // CHECK: for (const auto & elem : NestS) {
// CHECK-NEXT: for (S::const_iterator SI = (elem).begin(), SE = (elem).end(); SI != SE; ++SI) {
// CHECK-NEXT: printf("%d", *SI);
}
OpenPOWER on IntegriCloud