[PATCH] D98745: [clang] Add fixit for Wreorder-ctor
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 18 11:20:30 PDT 2021
njames93 marked 4 inline comments as done.
njames93 added inline comments.
================
Comment at: clang/lib/Sema/SemaDeclCXX.cpp:5242
+ if (Previous->isAnyMemberInitializer())
+ Diag << 0 << Previous->getAnyMember()->getDeclName();
+ else
----------------
aaron.ballman wrote:
>
This was copied from the old impl, Not sure it this is going to change behaviour though.
No tests needed to be updated though,
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98745/new/
https://reviews.llvm.org/D98745
More information about the cfe-commits
mailing list