Author: dergachev
Date: Tue Aug  2 10:16:06 2016
New Revision: 277473

URL: http://llvm.org/viewvc/llvm-project?rev=277473&view=rev
Log:
[analyzer] Hotfix for buildbot failure due to unspecified triple in r277449

If a target triple is not specified, the default host triple is used,
which is not good for compiling inline assembler code.

Patch by Raphael Isemann!

Modified:
    cfe/trunk/test/Analysis/copypaste/asm.cpp

Modified: cfe/trunk/test/Analysis/copypaste/asm.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/copypaste/asm.cpp?rev=277473&r1=277472&r2=277473&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/copypaste/asm.cpp (original)
+++ cfe/trunk/test/Analysis/copypaste/asm.cpp Tue Aug  2 10:16:06 2016
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -analyze -std=c++11 
-analyzer-checker=alpha.clone.CloneChecker -verify %s
+// RUN: %clang_cc1 -triple x86_64-unknown-linux -analyze 
-analyzer-checker=alpha.clone.CloneChecker -verify %s
 
 // expected-no-diagnostics
 


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

Reply via email to