r328903 - [analyzer] Fix test triple in missing-bind-temporary.cpp.
Artem Dergachev via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 30 14:22:35 PDT 2018
Author: dergachev
Date: Fri Mar 30 14:22:35 2018
New Revision: 328903
URL: http://llvm.org/viewvc/llvm-project?rev=328903&view=rev
Log:
[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.
Modified:
cfe/trunk/test/Analysis/missing-bind-temporary.cpp
Modified: cfe/trunk/test/Analysis/missing-bind-temporary.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/missing-bind-temporary.cpp?rev=328903&r1=328902&r2=328903&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/missing-bind-temporary.cpp (original)
+++ cfe/trunk/test/Analysis/missing-bind-temporary.cpp Fri Mar 30 14:22:35 2018
@@ -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);
More information about the cfe-commits
mailing list