hokein marked an inline comment as done.
hokein added inline comments.
================
Comment at: clang/test/AST/ast-dump-recovery.cpp:182
+// Verified that the generated call operator is invalid.
+// CHECK: |-CXXMethodDecl {{.*}} invalid operator() 'auto () const -> auto'
using Escape = decltype([] { return undef(); }());
----------------
with this patch, we don't preserve the return stmt, so we only have the
CXXRecordDecl for the lambda, and no `TypeAliasDecl ` node.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80221/new/
https://reviews.llvm.org/D80221
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits