]> granicus.if.org Git - clang/commit
Change -verify mode to find the "expected-error" and "expected-warning" strings
authorChris Lattner <sabre@nondot.org>
Fri, 21 Nov 2008 01:18:36 +0000 (01:18 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 21 Nov 2008 01:18:36 +0000 (01:18 +0000)
commita39f04857a6eb12925dfcf01b35f9dabf787d7a0
treeab31648b5faf731d97c9e9457948e8cb332164b7
parent34eaa24e6c2dc72bbbd5ad09694368cfd09c5f14
Change -verify mode to find the "expected-error" and "expected-warning" strings
with a raw lexer instead of a PP lexer.  This means that -verify doesn't scan
#include'd headers for expected-error/warning strings, and it also means that it
doesn't ignore them in #if 0.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59774 91177308-0d34-0410-b5e6-96231b3b80d8
Driver/DiagChecker.cpp
test/Driver/env-include-paths.c