This is an archive of the discontinued LLVM Phabricator instance.

Itanium Mangling: In 'enable_if', omit X/E around <expr-primary>.
ClosedPublic

Authored by jyknight on Jan 26 2021, 3:49 PM.

Details

Summary

The Clang enable_if extension is mangled as an <extended-qualifier>,
which is supposed to contain <template-args>. However, we were
unconditionally emitting X/E around its arguments, neglecting the fact
that <expr-primary> should be emitted directly without the surrounding
X/E.

Diff Detail

Event Timeline

jyknight requested review of this revision.Jan 26 2021, 3:49 PM
jyknight created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJan 26 2021, 3:49 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
This revision is now accepted and ready to land.Jan 27 2021, 1:17 AM
jyknight updated this revision to Diff 319578.Jan 27 2021, 7:42 AM

Add neglected clang-abi-compat.cpp change.

This revision was landed with ongoing or failed builds.Jan 27 2021, 1:52 PM
This revision was automatically updated to reflect the committed changes.