[PATCH] D27956: Make CodeGenCXX/stack-reuse-miscompile.cpp tolerate C++11
Paul Robinson via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 20 14:41:24 PST 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL290208: Make a test use a specific C++ dialect (authored by probinson).
Changed prior to commit:
https://reviews.llvm.org/D27956?vs=82020&id=82160#toc
Repository:
rL LLVM
https://reviews.llvm.org/D27956
Files:
cfe/trunk/test/CodeGenCXX/stack-reuse-miscompile.cpp
Index: cfe/trunk/test/CodeGenCXX/stack-reuse-miscompile.cpp
===================================================================
--- cfe/trunk/test/CodeGenCXX/stack-reuse-miscompile.cpp
+++ cfe/trunk/test/CodeGenCXX/stack-reuse-miscompile.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang -S -target armv7l-unknown-linux-gnueabihf -emit-llvm -O1 -mllvm -disable-llvm-optzns -S %s -o - | FileCheck %s
+// RUN: %clang_cc1 -triple armv7l-unknown-linux-gnueabihf -emit-llvm -O1 -disable-llvm-optzns -std=c++03 %s -o - | FileCheck %s
// This test should not to generate llvm.lifetime.start/llvm.lifetime.end for
// f function because all temporary objects in this function are used for the
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27956.82160.patch
Type: text/x-patch
Size: 674 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161220/f13d248f/attachment.bin>
More information about the cfe-commits
mailing list