Enable support for the [[maybe_unused]] attribute from WG14 N2053 when...
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
Showing
- include/clang/Basic/Attr.td 2 additions, 1 deletioninclude/clang/Basic/Attr.td
- lib/Sema/SemaExpr.cpp 2 additions, 1 deletionlib/Sema/SemaExpr.cpp
- test/Sema/c2x-maybe_unused-errors.c 12 additions, 0 deletionstest/Sema/c2x-maybe_unused-errors.c
- test/Sema/c2x-maybe_unused.c 35 additions, 0 deletionstest/Sema/c2x-maybe_unused.c
Loading
Please register or sign in to comment