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 | 8879c43a536cc5623c6b5260a038930f01e2176c (patch) | |
tree | d07b41bf2527fd8b3b7fa009fd99411548a4af74 /clang/test/Preprocessor/disabled-cond-diags.c | |
parent | 1f631645f8c7e4540b3a244cf070d7d689f3e49e (diff) | |
download | bcm5719-llvm-8879c43a536cc5623c6b5260a038930f01e2176c.tar.gz bcm5719-llvm-8879c43a536cc5623c6b5260a038930f01e2176c.zip |
Don't check lines beginning with '#', since they could contain a path with the unexpected word in them.
llvm-svn: 173307
Diffstat (limited to 'clang/test/Preprocessor/disabled-cond-diags.c')
-rw-r--r-- | clang/test/Preprocessor/disabled-cond-diags.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |