r369820 - Fix a test to test what the name suggest.
Gabor Horvath via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 23 15:26:49 PDT 2019
Author: xazax
Date: Fri Aug 23 15:26:49 2019
New Revision: 369820
URL: http://llvm.org/viewvc/llvm-project?rev=369820&view=rev
Log:
Fix a test to test what the name suggest.
Modified:
cfe/trunk/test/Sema/warn-lifetime-analysis-nocfg-disabled.cpp
Modified: cfe/trunk/test/Sema/warn-lifetime-analysis-nocfg-disabled.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/warn-lifetime-analysis-nocfg-disabled.cpp?rev=369820&r1=369819&r2=369820&view=diff
==============================================================================
--- cfe/trunk/test/Sema/warn-lifetime-analysis-nocfg-disabled.cpp (original)
+++ cfe/trunk/test/Sema/warn-lifetime-analysis-nocfg-disabled.cpp Fri Aug 23 15:26:49 2019
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -Wno-dangling -Wreturn-stack-address -verify %s
+// RUN: %clang_cc1 -fsyntax-only -Wno-dangling-gsl -Wreturn-stack-address -verify %s
struct [[gsl::Owner(int)]] MyIntOwner {
MyIntOwner();
More information about the cfe-commits
mailing list