hokein added inline comments.

================
Comment at: clang/include/clang/AST/RecursiveASTVisitor.h:2107
 
-  if (CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) {
-    // Constructor initializers.
----------------
moving this part of code to `if (VisitBody)` seems like a different fix (and I 
think it is reasonable, from the grammar, the ctor-initializer is part of the 
function-body), can we separate it and add a test? 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120504/new/

https://reviews.llvm.org/D120504

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to