summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/pragma-ms_struct.c
Commit message (Collapse)AuthorAgeFilesLines
* Unify __declspec attribute argument parsing with the common attribute ↵Aaron Ballman2014-03-311-1/+1
| | | | | | | | argument parsing code. This removes a diagnostic that is no longer required (the semantic engine now properly handles attribute syntax so __declspec and __attribute__ spellings no longer get mismatched). This caused several testcases to need updating for a slightly different wording. llvm-svn: 205234
* Automated checking for C++ when determining what argument to send to the ↵Aaron Ballman2013-11-271-2/+2
| | | | | | diagnostic for attribute subjects. In turn, this allows the Subjects to be enabled for some more attributes and improves diagnostics. Updated a test case based on the improved diagnostic. llvm-svn: 195864
* There is no such thing as __declspec(ms_struct), this is a GNU attribute. ↵Aaron Ballman2013-11-201-4/+6
| | | | | | Switched the attribute to have the proper spelling, gave it a subject, updated the warning to be more accurate, and updated the test case as appropriate. llvm-svn: 195277
* Make -mms-bitfields behave consistently.Eli Friedman2012-10-121-0/+6
| | | | | | Patch by Jeremiah Zanin. llvm-svn: 165849
* Fixes a bug in calculation of field offsets of ms_structFariborz Jahanian2011-12-121-0/+21
| | | | | | | fields by just following what comment says. // rdar://10513599 llvm-svn: 146414
* Add ms_struct attribute on record typeeFariborz Jahanian2011-04-261-0/+15
| | | | | | (and ignore it for now) - wip. llvm-svn: 130224
* Recognize gcc's ms_struct pragma (and ignore for now).Fariborz Jahanian2011-04-251-0/+19
This is wip. llvm-svn: 130138
OpenPOWER on IntegriCloud