[PATCH] D52421: [Sema] Diagnose parameter names that shadow inherited field names

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 24 10:30:55 PDT 2018


lebedev.ri added a comment.

Thanks!



================
Comment at: lib/Sema/SemaDecl.cpp:12380-12382
   }
 
+  if (LangOpts.CPlusPlus && II) {
----------------
I think you could move it into the `if()` above?


https://reviews.llvm.org/D52421





More information about the cfe-commits mailing list