diff options
| author | Nico Weber <nicolasweber@gmx.de> | 2019-08-01 15:06:57 +0000 |
|---|---|---|
| committer | Nico Weber <nicolasweber@gmx.de> | 2019-08-01 15:06:57 +0000 |
| commit | 5c2d5f066fba2c080438a8643550b544ac466f5d (patch) | |
| tree | 887c338e355da4c363de0cef9a8d648233a2898a | |
| parent | 5f5379d0767dd09d2cb9ecc5c80b6e292bda053b (diff) | |
| download | bcm5719-llvm-5c2d5f066fba2c080438a8643550b544ac466f5d.tar.gz bcm5719-llvm-5c2d5f066fba2c080438a8643550b544ac466f5d.zip | |
Rename two clang tests from .cc to .cpp.
clang/test/lit.cfg.py doesn't list .cc as test extension, so these
tests never ran.
Tweak one of the two tests to actually pass, now that it runs.
(The other one was already passing.)
llvm-svn: 367574
| -rw-r--r-- | clang/test/Analysis/structured_bindings.cpp (renamed from clang/test/Analysis/structured_bindings.cc) | 3 | ||||
| -rw-r--r-- | clang/test/CodeGen/ppc-vector-compare.cpp (renamed from clang/test/CodeGen/ppc-vector-compare.cc) | 0 |
2 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/Analysis/structured_bindings.cc b/clang/test/Analysis/structured_bindings.cpp index 1e23246f9a1..fcc976c4c3d 100644 --- a/clang/test/Analysis/structured_bindings.cc +++ b/clang/test/Analysis/structured_bindings.cpp @@ -1,10 +1,9 @@ // RUN: %clang_analyze_cc1 -std=c++17 -analyzer-checker=core -verify %s -// expected-no-diagnostics struct s { int a; }; int foo() { auto[a] = s{1}; // FIXME: proper modelling if (a) { } -} +} // expected-warning{{control reaches end of non-void function}} diff --git a/clang/test/CodeGen/ppc-vector-compare.cc b/clang/test/CodeGen/ppc-vector-compare.cpp index e1c92bb6bef..e1c92bb6bef 100644 --- a/clang/test/CodeGen/ppc-vector-compare.cc +++ b/clang/test/CodeGen/ppc-vector-compare.cpp |

