aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/CommentDumper.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-07-19 18:10:23 +0000
committerJordan Rose <jordan_rose@apple.com>2012-07-19 18:10:23 +0000
commitddcfbc9ad1817f545610999d655ac6c28d4c0c12 (patch)
treed05af342f901642c4e1813eeb9c509a7c38372fb /lib/AST/CommentDumper.cpp
parentb13291aa59c4c074e70f2d0181f9721e38b494d4 (diff)
For varargs, diagnose passing ObjC objects by value like other non-POD types.
While we still want to consider this a hard error (non-POD variadic args are normally a DefaultError warning), delaying the diagnostic allows us to give better error messages, which also match the usual non-POD errors more closely. In addition, this change improves the diagnostic messages for format string argument type mismatches by passing down the type of the callee, so we can say "variadic method" or "variadic function" appropriately. <rdar://problem/11825593> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160517 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/CommentDumper.cpp')
0 files changed, 0 insertions, 0 deletions