]> granicus.if.org Git - clang/commitdiff
[analyzer] Hotfix for buildbot failure due to unspecified triple in r277449
authorArtem Dergachev <artem.dergachev@gmail.com>
Tue, 2 Aug 2016 15:16:06 +0000 (15:16 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Tue, 2 Aug 2016 15:16:06 +0000 (15:16 +0000)
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!

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

test/Analysis/copypaste/asm.cpp

index 61f0def594d88ab326167a30e9b2641af324248a..e93f119198a34df7b19c6b868d83232572d7d141 100644 (file)
@@ -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