| commit | dd430f7ec9511f440a55d090c1a8d4df118e0e68 | [log] [tgz] |
|---|---|---|
| author | Douglas Gregor <dgregor@apple.com> | Mon Jan 19 19:26:10 2009 +0000 |
| committer | Douglas Gregor <dgregor@apple.com> | Mon Jan 19 19:26:10 2009 +0000 |
| tree | 7b670938f8911ad43483817101a0f90454211517 | |
| parent | ababe7d47df60f0a68b3a3712de4032e1a12d3fb [diff] |
Centralize error reporting of improper uses of incomplete types in the new DiagnoseIncompleteType. It provides additional information about struct/class/union/enum types when possible, either by pointing to the forward declaration of that type or by pointing to the definition (if we're in the process of defining that type). Fixes <rdar://problem/6500531>. llvm-svn: 62521