This is an archive of the discontinued LLVM Phabricator instance.

[clang] Fix unused variable warning in SemaConcept.cpp
ClosedPublic

Authored by vctr on Dec 27 2022, 4:29 PM.

Diff Detail

Event Timeline

vctr created this revision.Dec 27 2022, 4:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 27 2022, 4:29 PM
vctr requested review of this revision.Dec 27 2022, 4:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 27 2022, 4:29 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
vctr edited the summary of this revision. (Show Details)Dec 27 2022, 4:33 PM
vctr added a reviewer: Eugene.Zelenko.
hokein accepted this revision.Jan 2 2023, 12:34 AM
This revision is now accepted and ready to land.Jan 2 2023, 12:34 AM
vctr added a comment.Jan 3 2023, 9:21 AM

Hey @hokein, thanks for the accept. I don't have commit rights, can you please land this?

nit: I think that's a cleaner fix :)

clang/lib/Sema/SemaConcept.cpp
1349
hokein added inline comments.Jan 12 2023, 3:56 AM
clang/lib/Sema/SemaConcept.cpp
1349

we still need the FD1 as there is a IsExpectedEntity(FD1) call in the assert on L1358.

This revision was automatically updated to reflect the committed changes.

Hey @hokein, thanks for the accept. I don't have commit rights, can you please land this?

Done. Sorry for the late response (I totally missed this).