diff options
| author | Richard Trieu <rtrieu@google.com> | 2013-07-23 18:01:49 +0000 |
|---|---|---|
| committer | Richard Trieu <rtrieu@google.com> | 2013-07-23 18:01:49 +0000 |
| commit | 79b45389c3cd2f1ab0904b636f8451849038cddf (patch) | |
| tree | d5a8d314e7d002bf2bd9af5c6ab1c9287b7b9459 /llvm/lib/IR | |
| parent | 8c4245455ad4ad171387ec8dac33a28fa58da84b (diff) | |
| download | bcm5719-llvm-79b45389c3cd2f1ab0904b636f8451849038cddf.tar.gz bcm5719-llvm-79b45389c3cd2f1ab0904b636f8451849038cddf.zip | |
Add new diagnostic messages when too many arguments are presented to a
function-like macro. Clang will attempt to correct the arguments by detecting
braced initializer lists:
1) If possible, suggest parentheses around arguments
containing braced lists which will give the proper number of arguments.
2) If a braced list is detected at the start of a macro argument, it cannot be
corrected by parentheses. Instead, just point out the location of these
braced lists.
llvm-svn: 186971
Diffstat (limited to 'llvm/lib/IR')
0 files changed, 0 insertions, 0 deletions

