]> granicus.if.org Git - clang/commit
Enable support for the [[maybe_unused]] attribute from WG14 N2053 when enabling doubl...
authorAaron Ballman <aaron@aaronballman.com>
Wed, 18 Oct 2017 16:59:27 +0000 (16:59 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 18 Oct 2017 16:59:27 +0000 (16:59 +0000)
commitf53794cdab8d60b0eb3403f6f9bb95f9cfd23f44
treef143b2e95124643a4dd02d8dd1946145512bd3ff
parent58199aaa59e063e6386d5672178af1bfce184f2b
Enable support for the [[maybe_unused]] attribute from WG14 N2053 when enabling double square bracket attributes in C code.

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