summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Karpenkov <ekarpenkov@apple.com>2018-10-03 20:46:50 +0000
committerGeorge Karpenkov <ekarpenkov@apple.com>2018-10-03 20:46:50 +0000
commit61e48e12b5f44bba1d628c72100cef2ea027e266 (patch)
tree281d2ba1552f6afbfe2ccde271aa0c732eb4c3e1
parent6916206d32b6fe2500328f3d16372dcd69817c46 (diff)
downloadbcm5719-llvm-61e48e12b5f44bba1d628c72100cef2ea027e266.tar.gz
bcm5719-llvm-61e48e12b5f44bba1d628c72100cef2ea027e266.zip
[analyzer] [tests] [quickfix] Make the test more resilient for a non-defaut std configuration
llvm-svn: 343715
-rw-r--r--clang/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp b/clang/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp
index a4e30e3c9af..2ed8355f6e6 100644
--- a/clang/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp
+++ b/clang/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}};
OpenPOWER on IntegriCloud