aaron.ballman added inline comments.
================ Comment at: clang/lib/AST/DeclCXX.cpp:3232 +VarDecl *ValueDecl::getPotentiallyDecomposedVarDecl() { + assert((isa<VarDecl>(this) || isa<BindingDecl>(this)) && + "expected a VarDecl or a BindingDecl"); ---------------- cor3ntin wrote: > aaron.ballman wrote: > > > That's future tech, `assert` would part that as 2 macros arguments! Ugh. `(isa<VarDecl, BindingDecl>(this)) && ...` should suppress that problem, right? I don't feel strongly though. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D137244/new/ https://reviews.llvm.org/D137244 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits