This is an archive of the discontinued LLVM Phabricator instance.

[Sema] Fix missing warning on initializer lists on field initializers with overloaded operators
ClosedPublic

Authored by zequanwu on Aug 7 2020, 5:12 PM.

Diff Detail

Event Timeline

zequanwu created this revision.Aug 7 2020, 5:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 7 2020, 5:12 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
zequanwu requested review of this revision.Aug 7 2020, 5:12 PM
zequanwu edited the summary of this revision. (Show Details)Aug 7 2020, 5:14 PM
rtrieu added inline comments.Aug 10 2020, 6:02 PM
clang/lib/Sema/SemaDeclCXX.cpp
3580–3583

Does the warning work if it was changed to be "Visit(Base);" before the return here instead of the change above?

zequanwu updated this revision to Diff 284551.Aug 10 2020, 6:53 PM
zequanwu marked an inline comment as done.

Address comment.

clang/lib/Sema/SemaDeclCXX.cpp
3580–3583

Yes, done.

rtrieu accepted this revision.Aug 10 2020, 7:01 PM

LGTM

This revision is now accepted and ready to land.Aug 10 2020, 7:01 PM