summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/dtor.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2014-04-07 16:36:08 +0000
committerJordan Rose <jordan_rose@apple.com>2014-04-07 16:36:08 +0000
commit9c8a5ff16141f20a84160296de78e17cd05aa18f (patch)
treea3010080ae120cb50ef3c4fc169385045ad04b5c /clang/test/Analysis/dtor.cpp
parent8b2c281a7527b64c2dd5a6ce945a6eb846b8ace6 (diff)
downloadbcm5719-llvm-9c8a5ff16141f20a84160296de78e17cd05aa18f.tar.gz
bcm5719-llvm-9c8a5ff16141f20a84160296de78e17cd05aa18f.zip
[analyzer] Re-enable test I accidentally committed commented-out.
Thanks, Alex! llvm-svn: 205720
Diffstat (limited to 'clang/test/Analysis/dtor.cpp')
-rw-r--r--clang/test/Analysis/dtor.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/test/Analysis/dtor.cpp b/clang/test/Analysis/dtor.cpp
index e410fc9083a..8d6e30a6c27 100644
--- a/clang/test/Analysis/dtor.cpp
+++ b/clang/test/Analysis/dtor.cpp
@@ -426,11 +426,11 @@ namespace LifetimeExtension {
// This case used to cause an unexpected "Undefined or garbage value returned
// to caller" warning
-// bool testNamedCustomDestructor() {
-// if (CheckCustomDestructor c = CheckCustomDestructor())
-// return true;
-// return false;
-// }
+ bool testNamedCustomDestructor() {
+ if (CheckCustomDestructor c = CheckCustomDestructor())
+ return true;
+ return false;
+ }
bool testMultipleTemporariesCustomDestructor() {
if (CheckCustomDestructor c = (CheckCustomDestructor(), CheckCustomDestructor()))
OpenPOWER on IntegriCloud