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);
 


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to