r327591 - [analyzer] Explicitly set an -std level for the analyzer test.

George Karpenkov via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 14 16:50:18 PDT 2018


Author: george.karpenkov
Date: Wed Mar 14 16:50:18 2018
New Revision: 327591

URL: http://llvm.org/viewvc/llvm-project?rev=327591&view=rev
Log:
[analyzer] Explicitly set an -std level for the analyzer test.

Modified:
    cfe/trunk/test/Analysis/nonnullparamchecker-crash.cpp

Modified: cfe/trunk/test/Analysis/nonnullparamchecker-crash.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/nonnullparamchecker-crash.cpp?rev=327591&r1=327590&r2=327591&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/nonnullparamchecker-crash.cpp (original)
+++ cfe/trunk/test/Analysis/nonnullparamchecker-crash.cpp Wed Mar 14 16:50:18 2018
@@ -1,4 +1,4 @@
-// RUN: %clang_analyze_cc1 -analyzer-checker=core -verify %s
+// RUN: %clang_analyze_cc1 -analyzer-checker=core -std=c++11 -verify %s
 class C {};
 
 // expected-no-diagnostics




More information about the cfe-commits mailing list