aaron.ballman added inline comments.

================
Comment at: clang-tidy/modernize/ReturnBracedInitListCheck.cpp:59
+  // Skip explicit construcotrs.
+  if (MatchedConstructExpr->getConstructor()->isExplicit())
+    return;
----------------
Can't this be handled as part of the matcher? Something like 
`hasDeclaration(cxxConstructorDecl(isExplicit()))` should work.


Repository:
  rL LLVM

https://reviews.llvm.org/D28768



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

Reply via email to