From 8879c43a536cc5623c6b5260a038930f01e2176c Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 23 Jan 2013 23:07:21 +0000 Subject: Don't check lines beginning with '#', since they could contain a path with the unexpected word in them. llvm-svn: 173307 --- clang/test/Preprocessor/disabled-cond-diags.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/Preprocessor/disabled-cond-diags.c') diff --git a/clang/test/Preprocessor/disabled-cond-diags.c b/clang/test/Preprocessor/disabled-cond-diags.c index 531842a7315..40c9f44d923 100644 --- a/clang/test/Preprocessor/disabled-cond-diags.c +++ b/clang/test/Preprocessor/disabled-cond-diags.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -E %s 2>&1 | not grep "warning\|error" +// RUN: %clang_cc1 -E %s 2>&1 | grep -v '^#' | not grep "warning\|error" #if 0 -- cgit v1.2.3