summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/late-parsed-instantiations.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/PCH/late-parsed-instantiations.cpp')
-rw-r--r--clang/test/PCH/late-parsed-instantiations.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/PCH/late-parsed-instantiations.cpp b/clang/test/PCH/late-parsed-instantiations.cpp
index f1fe8bb06a5..cbcc063e581 100644
--- a/clang/test/PCH/late-parsed-instantiations.cpp
+++ b/clang/test/PCH/late-parsed-instantiations.cpp
@@ -20,8 +20,8 @@ class ArrayBuffer {
char data() {
visit([](auto buffer) -> char { // expected-note {{in instantiation}}
buffer->data();
- }); // expected-warning {{control reaches end of non-void lambda}}
- } // expected-warning {{control reaches end of non-void function}}
+ }); // expected-warning {{non-void lambda does not return a value}}
+ } // expected-warning {{non-void function does not return a value}}
};
#else
OpenPOWER on IntegriCloud