]> granicus.if.org Git - clang/commitdiff
[analyzer] Fix test triple in missing-bind-temporary.cpp.
authorArtem Dergachev <artem.dergachev@gmail.com>
Fri, 30 Mar 2018 21:22:35 +0000 (21:22 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Fri, 30 Mar 2018 21:22:35 +0000 (21:22 +0000)
Otherwise the default triple for x86-windows-msvc2015 auto-inserts
__attribute__((thiscall)) to some calls.

Fixes the respective buildbot.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@328903 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/missing-bind-temporary.cpp

index efa608bfad9d98588ab994aa1e27c35c7da68a5b..010c42e0ff16a492abb47d9ecfa8a6f18b453217 100644 (file)
@@ -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);