Aaron Ballman
31f42318d8
Improving the "integer constant too large" diagnostics based on post-commit feedback from Richard Smith. Amends r213657.
...
llvm-svn: 213865
2014-07-24 14:51:23 +00:00
Aaron Ballman
adfdde5ba6
Improve the checkUInt32Argument() helper function so that it diagnoses integer constants larger than 32-bits.
...
llvm-svn: 213658
2014-07-22 14:09:34 +00:00
Aaron Ballman
05e420abad
Updated the wording of two attribute-related diagnostics so that they print the offending attribute name. Also updates the associated test cases.
...
llvm-svn: 198355
2014-01-02 21:26:14 +00:00
Aaron Ballman
f22ef5ab1a
Refactored integer argument checking code into a helper method. Removes a considerable amount of duplicated code.
...
llvm-svn: 195302
2013-11-21 01:50:40 +00:00
John McCall
80ee5963fd
Pretty up the wrong-number-of-arguments-for-attribute diagnostic by
...
using a custom plural form. Split out the range diagnostics as their
own message.
llvm-svn: 126840
2011-03-02 12:15:05 +00:00
John McCall
4bb483629f
Change the wording of the bad-decl-for-attribute warning and error
...
to make it clear that we're talking about the declarations and not the types.
llvm-svn: 124175
2011-01-25 03:51:08 +00:00
Daniel Dunbar
8fbe78f6fc
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
...
- This is designed to make it obvious that %clang_cc1 is a "test variable"
which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it
can be useful to redefine what gets run as 'clang -cc1' (for example, to set
a default target).
llvm-svn: 91446
2009-12-15 20:14:24 +00:00
Daniel Dunbar
a45cf5b6b0
Rename clang to clang-cc.
...
Tests and drivers updated, still need to shuffle dirs.
llvm-svn: 67602
2009-03-24 02:24:46 +00:00
Daniel Dunbar
032db47f0f
Support __attribute__(({con,de}structor)) in Parse & Sema
...
- Including possible priority argument
- In other news, the attribute parsing code really needs a cleanup
llvm-svn: 54257
2008-07-31 22:40:48 +00:00