]> granicus.if.org Git - clang/commitdiff
[analyzer][test] Set C++14 as language standard for test depending on new
authorJan Korous <jkorous@apple.com>
Wed, 4 Apr 2018 19:58:48 +0000 (19:58 +0000)
committerJan Korous <jkorous@apple.com>
Wed, 4 Apr 2018 19:58:48 +0000 (19:58 +0000)
features

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@329225 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/missing-bind-temporary.cpp

index 010c42e0ff16a492abb47d9ecfa8a6f18b453217..6071f5b5fae1bc49f544079bce441175e54a67a1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_analyze_cc1 -triple x86_64-unknown-linux -analyzer-checker=debug.DumpCFG %s > %t 2>&1
+// RUN: %clang_analyze_cc1 -triple x86_64-unknown-linux -analyzer-checker=debug.DumpCFG -std=c++14 %s > %t 2>&1
 // RUN: FileCheck --input-file=%t %s
 // RUN: %clang_analyze_cc1 -triple x86_64-unknown-linux -analyzer-checker=core,debug.ExprInspection -std=c++14 -verify %s