Skip to content

Commit f12b0d4

Browse files
committed
IRGen: Type reconstruction supports opaque result types now
1 parent 43ee8ae commit f12b0d4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/IRGen/IRGenDebugInfo.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -798,9 +798,7 @@ class IRGenDebugInfoImpl : public IRGenDebugInfo {
798798
std::string Result = Mangler.mangleTypeForDebugger(
799799
Ty, nullptr);
800800

801-
if (!Opts.DisableRoundTripDebugTypes
802-
// FIXME: implement type reconstruction for opaque types
803-
&& !Ty->hasOpaqueArchetype()) {
801+
if (!Opts.DisableRoundTripDebugTypes) {
804802
// Make sure we can reconstruct mangled types for the debugger.
805803
#ifndef NDEBUG
806804
auto &Ctx = Ty->getASTContext();

0 commit comments

Comments
 (0)