[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!

llvm-svn: 277473

clang/test/Analysis/copypaste/asm.cpp

index 61f0def..e93f119 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