diff options
| author | John McCall <rjmccall@apple.com> | 2010-01-23 08:10:49 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2010-01-23 08:10:49 +0000 |
| commit | 6d174646dd1a84127128f98cbef0203f23df6f12 (patch) | |
| tree | d1feef1e1fa69aa8e348ea5c4a0fb26b0a8ade8c /llvm/lib/VMCore | |
| parent | b1301f7bceecfd74fd2d60f106288afc1e5c0f80 (diff) | |
| download | bcm5719-llvm-6d174646dd1a84127128f98cbef0203f23df6f12.tar.gz bcm5719-llvm-6d174646dd1a84127128f98cbef0203f23df6f12.zip | |
Produce a special diagnostic when users call a function with an argument of
incomplete type (or a pointer/reference to such).
The causes of this problem are different enough to justify a different "design"
for the diagnostic. Most notably, it doesn't give an operand index:
it's usually pretty obvious which operand is the problem, it adds a lot of
clutter to mention it, and the fix is usually in a different part of the file
anyway.
This is yet another diagnostic that should really have an analogue in the
non-overloaded case --- which should be much easier to write because of
the weaker space constraints.
llvm-svn: 94303
Diffstat (limited to 'llvm/lib/VMCore')
0 files changed, 0 insertions, 0 deletions

