]> granicus.if.org Git - clang/commitdiff
[analyzer] Fix an ARM buildbot after r284960.
authorArtem Dergachev <artem.dergachev@gmail.com>
Mon, 24 Oct 2016 12:54:27 +0000 (12:54 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Mon, 24 Oct 2016 12:54:27 +0000 (12:54 +0000)
I guess we should always specify triples in all analyzer tests, regardless.

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

test/Analysis/std-c-library-functions.c
test/Analysis/std-c-library-functions.cpp

index 4c5cfb8b1c52db25803eb70a538cf886115abe61..c7c47c3c3da795656dac1cc44280b6e96df92d3b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -analyze -analyzer-checker=unix.StdCLibraryFunctions,debug.ExprInspection -verify %s
+// RUN: %clang_cc1 -triple x86_64-unknown-linux -analyze -analyzer-checker=unix.StdCLibraryFunctions,debug.ExprInspection -verify %s
 
 void clang_analyzer_eval(int);
 
index 271fffde6925d32fa9dd6787fce9b20149854007..e6ac66bc81a3f84cc64cbd6b5071fc0152b584e6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -analyze -analyzer-checker=unix.StdCLibraryFunctions,debug.ExprInspection -verify %s
+// RUN: %clang_cc1 -triple x86_64-unknown-linux -analyze -analyzer-checker=unix.StdCLibraryFunctions,debug.ExprInspection -verify %s
 
 // Test that we don't model functions with broken prototypes.
 // Because they probably work differently as well.