Enable support for the [[nodiscard]] attribute from WG14 N2050 when enabling double...
authorAaron Ballman <aaron@aaronballman.com>
Tue, 17 Oct 2017 20:33:35 +0000 (20:33 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Tue, 17 Oct 2017 20:33:35 +0000 (20:33 +0000)
commit6a20f1df9306b119ab68a4507fce68cf543cca96
tree5a17644fa1c63c0416bcaad74142215aae52cfb2
parentc29141b4eda9de47ff4dc9ad4e122d64d5b63d5e
Enable support for the [[nodiscard]] attribute from WG14 N2050 when enabling double square bracket attributes in C code.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316026 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
lib/AST/Decl.cpp
test/Sema/c2x-nodiscard.c [new file with mode: 0644]