From 8a06ec91e0b732e3237adaf80fed4eccd3292466 Mon Sep 17 00:00:00 2001 From: Artem Dergachev Date: Mon, 24 Oct 2016 12:54:27 +0000 Subject: [PATCH] [analyzer] Fix an ARM buildbot after r284960. 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 | 2 +- test/Analysis/std-c-library-functions.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Analysis/std-c-library-functions.c b/test/Analysis/std-c-library-functions.c index 4c5cfb8b1c..c7c47c3c3d 100644 --- a/test/Analysis/std-c-library-functions.c +++ b/test/Analysis/std-c-library-functions.c @@ -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); diff --git a/test/Analysis/std-c-library-functions.cpp b/test/Analysis/std-c-library-functions.cpp index 271fffde69..e6ac66bc81 100644 --- a/test/Analysis/std-c-library-functions.cpp +++ b/test/Analysis/std-c-library-functions.cpp @@ -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. -- 2.40.0