[PATCH] D85574: [Sema] Fix missing warning on initializer lists on field initializers with overloaded operators
Richard Trieu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 10 18:02:56 PDT 2020
rtrieu added inline comments.
================
Comment at: clang/lib/Sema/SemaDeclCXX.cpp:3584-3585
if (!isa<CXXThisExpr>(Base->IgnoreParenImpCasts()))
return;
----------------
Does the warning work if it was changed to be "Visit(Base);" before the return here instead of the change above?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85574/new/
https://reviews.llvm.org/D85574
More information about the cfe-commits
mailing list