__has_attribute now understands target-specific attributes. So when you ask…

Press ? to show keyboard shortcuts.
Committed
aaronballmanJan 9 2014, 2:57 PM
Parents
rL198896: Removing the notion of TargetAttributesSema and replacing it with one where the…
Branches
Unknown
Tags
Unknown
Subscribers
None
Description

__has_attribute now understands target-specific attributes. So when you ask whether an ARM target has the "interrupt" attribute, it will return true for ARM and MSP430 targets, and false for others.

rL198897

cfe/trunk/lib/Lex/PPMacroExpansion.cpp

Loading...

cfe/trunk/test/Preprocessor/has_attribute.c

Loading...

cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp

Loading...

Add Comment