summaryrefslogtreecommitdiff
path: root/test/Preprocessor/macro_with_initializer_list.cpp
Commit message (Collapse)AuthorAge
* Add not to a command that is expected to fail.Rafael Espindola2013-07-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187065 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed "an macro" to "a macro" in diagnostic note.Richard Trieu2013-07-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186988 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new diagnostic messages when too many arguments are presented to aRichard Trieu2013-07-23
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186971 91177308-0d34-0410-b5e6-96231b3b80d8