summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/missing-bind-temporary.cpp
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2018-03-30 21:22:35 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2018-03-30 21:22:35 +0000
commitd1fe360b06529490f9fab8ed3d30f57831241003 (patch)
tree26b2d84d08f546e1ee075e84ce36f53fda0a3fbc /clang/test/Analysis/missing-bind-temporary.cpp
parent7588a8e89d6ba615a06d7d3dbba1f38e745c1ed3 (diff)
downloadbcm5719-llvm-d1fe360b06529490f9fab8ed3d30f57831241003.tar.gz
bcm5719-llvm-d1fe360b06529490f9fab8ed3d30f57831241003.zip
[analyzer] Fix test triple in missing-bind-temporary.cpp.
Otherwise the default triple for x86-windows-msvc2015 auto-inserts __attribute__((thiscall)) to some calls. Fixes the respective buildbot. llvm-svn: 328903
Diffstat (limited to 'clang/test/Analysis/missing-bind-temporary.cpp')
-rw-r--r--clang/test/Analysis/missing-bind-temporary.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Analysis/missing-bind-temporary.cpp b/clang/test/Analysis/missing-bind-temporary.cpp
index efa608bfad9..010c42e0ff1 100644
--- a/clang/test/Analysis/missing-bind-temporary.cpp
+++ b/clang/test/Analysis/missing-bind-temporary.cpp
@@ -1,6 +1,6 @@
-// RUN: %clang_analyze_cc1 -analyzer-checker=debug.DumpCFG %s > %t 2>&1
+// RUN: %clang_analyze_cc1 -triple x86_64-unknown-linux -analyzer-checker=debug.DumpCFG %s > %t 2>&1
// RUN: FileCheck --input-file=%t %s
-// RUN: %clang_analyze_cc1 -analyzer-checker=core,debug.ExprInspection -std=c++14 -verify %s
+// RUN: %clang_analyze_cc1 -triple x86_64-unknown-linux -analyzer-checker=core,debug.ExprInspection -std=c++14 -verify %s
void clang_analyzer_eval(bool);
OpenPOWER on IntegriCloud