riccibruno added inline comments.
================ Comment at: lib/AST/DeclCXX.cpp:2070 + if (isDestroyingOperatorDelete()) { + if (!getASTContext().getLangOpts().DestroyingDelete) + return false; ---------------- Just use the AST context you have above ? Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D57645/new/ https://reviews.llvm.org/D57645 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits