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 | 258b203b853e1c684c290fccd0088d1f340c137f (patch) | |
tree | d4bc1a75fda17c8e114c0db7cc42df1b67100ada /lib/CodeGen/CGDebugInfo.cpp | |
parent | a729bbb739ca97a8dc52b6b0495725590a0367dc (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94303 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions