From: George Karpenkov Date: Wed, 3 Oct 2018 20:46:50 +0000 (+0000) Subject: [analyzer] [tests] [quickfix] Make the test more resilient for a non-defaut std confi... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=820780c046e69e788c247a6587616920d999d1a4;p=clang [analyzer] [tests] [quickfix] Make the test more resilient for a non-defaut std configuration git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343715 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp b/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp index a4e30e3c9a..2ed8355f6e 100644 --- a/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp +++ b/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp @@ -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}};