[PATCH] D59754: [Sema] Add c++2a designated initializer warnings
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 31 10:58:43 PDT 2019
xbolva00 added inline comments.
================
Comment at: cfe/trunk/lib/Sema/SemaInit.cpp:3112
SmallVector<Expr *, 32> InitExpressions;
+ bool HasArrayDesignator = false;
----------------
warning: variable ‘HasArrayDesignator’ set but not used [-Wunused-but-set-variable]
bool HasArrayDesignator = false;
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59754/new/
https://reviews.llvm.org/D59754
More information about the llvm-commits
mailing list