From 848b9b6227e8319efabc9d65aa6ca58c24b85f8b Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Tue, 27 Oct 2009 01:45:51 +0000 Subject: [PATCH] Preprocessor tests are whitespace sensitive, as per Revision: 85170 review. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85194 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Preprocessor/c99-6_10_3_3_p4.c | 3 ++- test/Preprocessor/macro_disable3.c | 2 +- test/Preprocessor/macro_rparen_scan2.c | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/test/Preprocessor/c99-6_10_3_3_p4.c b/test/Preprocessor/c99-6_10_3_3_p4.c index a23fb77602..99ad6e88a3 100644 --- a/test/Preprocessor/c99-6_10_3_3_p4.c +++ b/test/Preprocessor/c99-6_10_3_3_p4.c @@ -1,4 +1,5 @@ -// RUN: clang-cc -E %s | FileCheck %s +// RUN: clang-cc -E %s | FileCheck -strict-whitespace %s + #define hash_hash # ## # #define mkstr(a) # a #define in_between(a) mkstr(a) diff --git a/test/Preprocessor/macro_disable3.c b/test/Preprocessor/macro_disable3.c index 2983f2d9a4..d4a5664ae9 100644 --- a/test/Preprocessor/macro_disable3.c +++ b/test/Preprocessor/macro_disable3.c @@ -1,4 +1,4 @@ -// RUN: clang-cc %s -E | FileCheck %s +// RUN: clang-cc %s -E | FileCheck -strict-whitespace %s // Check for C99 6.10.3.4p2. #define f(a) f(x * (a)) diff --git a/test/Preprocessor/macro_rparen_scan2.c b/test/Preprocessor/macro_rparen_scan2.c index 30597a0097..c7fb9e3b08 100644 --- a/test/Preprocessor/macro_rparen_scan2.c +++ b/test/Preprocessor/macro_rparen_scan2.c @@ -1,4 +1,4 @@ -// RUN: clang-cc -E %s | FileCheck %s +// RUN: clang-cc -E %s | FileCheck -strict-whitespace %s #define R_PAREN ) -- 2.50.1