HomePhabricator

Add #pragma clang attribute

Description

Add #pragma clang attribute

This is a recommit of r300539 that was reverted in r300543 due to test failures.
The original commit message is displayed below:

The new '#pragma clang attribute' directive can be used to apply attributes to
multiple declarations. An attribute must satisfy the following conditions to
be supported by the pragma:

  • It must have a subject list that's defined in the TableGen file.
  • It must be documented.
  • It must not be late parsed.
  • It must have a GNU/C++11 spelling.

Differential Revision: https://reviews.llvm.org/D30009

Details

Committed
arphamanApr 18 2017, 7:33 AM
Differential Revision
D30009: Add support for '#pragma clang attribute'
Parents
rL300555: Driver: Better detection of mingw-gcc
Branches
Unknown
Tags
Unknown