Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reject varargs '...' in function prototype if there are more parameters after | Richard Smith | 2014-08-11 | 1 | -0/+37 |
| | | | | | | | | | | | it. Diagnose with recovery if it appears after a function parameter that was obviously supposed to be a parameter pack. Otherwise, warn if it immediately follows a function parameter pack, because the user most likely didn't intend to write a parameter pack followed by a C-style varargs ellipsis. This warning can be syntactically disabled by using ", ..." instead of "...". llvm-svn: 215408 | ||||
* | A static_assert declaration cannot be a template; adding the diagnostic for ↵ | Aaron Ballman | 2014-08-04 | 1 | -0/+9 |
this instead of silently accepting and producing possibly-unexpected behavior. llvm-svn: 214770 |