commit | 009e9f7e456de974ac457df6614cd2f87b7480dd | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Aug 10 18:27:41 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Aug 10 18:27:41 2007 +0000 |
tree | ceeed44c67b83c18b3f36a84d5c45f9276b1cdd4 | |
parent | 30bf7710b5c64deb318752343bb80a70b3c53429 [diff] |
Build ASTs before relexing the file. This avoids having comment finding mutate the preprocessor state, causing bogus diagnostics when the file is parsed for real. This implements Misc/diag-checker.c. Thanks to Ted for noticing this. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41000 91177308-0d34-0410-b5e6-96231b3b80d8