commit | 65e6a093b1aeeab919025ff979a9f874cdffa628 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Apr 29 05:12:23 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Apr 29 05:12:23 2009 +0000 |
tree | 3db81759bc5e23740f068020d6d4026d9615062a | |
parent | 8711c03dda12863a7537f14025513f7717b14ce1 [diff] |
Fix PR4092 by improving error recovery in two ways: 1. In a struct field redefinition, don't mark the struct erroneous. The field is erroneous, but the struct is otherwise well formed. 2. Don't emit diagnostics about functions that are known to be broken already. Either fix is sufficient to silence the second diagnostic in the example, but the combination is better :) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70371 91177308-0d34-0410-b5e6-96231b3b80d8