Skip to content
Commit e7964789 authored by Aaron Ballman's avatar Aaron Ballman
Browse files

Implement support for [[nodiscard]] in C++1z that is based off existing...

Implement support for [[nodiscard]] in C++1z that is based off existing support for warn_unused_result, and treat it as an extension pre-C++1z. This also means extending the existing warn_unused_result attribute so that it can be placed on an enum as well as a class.

llvm-svn: 262872
parent 146c14ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment