[PATCH] D59467: [clang] Adding the Likely Attribute from C++2a to AST
Gauthier via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 16 16:38:03 PDT 2019
Tyker created this revision.
Tyker added a reviewer: aaron.ballman.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
attributes after an if like:
if (...) [[likely]]
are now applied on the if instead of the following statement.
i added the likely attribute in the necessary places Attr.td, AttrDocs.td.
i added a diagnostics kind for C++2a and for likely not used on an if statement.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5185 bytes
Desc: not available
More information about the cfe-commits