]> granicus.if.org Git - clang/commitdiff
[analyzer] [tests] [quickfix] Make the test more resilient for a non-defaut std confi...
authorGeorge Karpenkov <ekarpenkov@apple.com>
Wed, 3 Oct 2018 20:46:50 +0000 (20:46 +0000)
committerGeorge Karpenkov <ekarpenkov@apple.com>
Wed, 3 Oct 2018 20:46:50 +0000 (20:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343715 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp

index a4e30e3c9aff7c517f12f7381e025f8d102c882f..2ed8355f6e6055127593791770c38178251a3191 100644 (file)
@@ -20,6 +20,6 @@ void call_deref_once() {
 
 
 // RUN: rm -rf %t.output
-// RUN: %clang_analyze_cc1 -analyze -analyzer-checker=core -analyzer-output html -o %t.output %s
+// RUN: %clang_analyze_cc1 -std=c++11 -analyze -analyzer-checker=core -analyzer-output html -o %t.output %s
 // RUN: cat %t.output/* | FileCheck %s --match-full-lines
 // CHECK: var relevant_lines = {"1": {"3": 1,  "8": 1, "11": 1, "12": 1, "15": 1, "16": 1, "17": 1, "18": 1}};