diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-01-23 23:07:21 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-01-23 23:07:21 +0000 |
commit | 2f169f8645ffbecf7f9bfed48c02915f34a377f5 (patch) | |
tree | b4cad2e50de7d7c492be33f5a6fd951daa03666f | |
parent | ee64b81c36d60483d385d6a099df1e6b5bb30618 (diff) |
Don't check lines beginning with '#', since they could contain a path with the unexpected word in them.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173307 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Preprocessor/disabled-cond-diags.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Preprocessor/disabled-cond-diags.c b/test/Preprocessor/disabled-cond-diags.c index 531842a731..40c9f44d92 100644 --- a/test/Preprocessor/disabled-cond-diags.c +++ b/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 |