Skip to content

Commit 1ac8cbe

Browse files
committed
[cxx-interop] Do not freeze when printing libc++ module interface
Follow-up to `fed7373f`.
1 parent 8f7af45 commit 1ac8cbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ClangImporter/ImportDecl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3271,7 +3271,7 @@ namespace {
32713271
// building with libstdc++, i.e. on most Linux distros.
32723272
if (decl->isInStdNamespace() && decl->getIdentifier() &&
32733273
(decl->getName() == "conditional" || decl->getName() == "__or_" ||
3274-
decl->getName() == "_Expr"))
3274+
decl->getName() == "_Expr" || decl->getName() == "__val_expr"))
32753275
return nullptr;
32763276

32773277
// `decl->getDefinition()` can return nullptr before the call to sema and

0 commit comments

Comments
 (0)