================
Comment at: clang-tidy/google/GoogleTidyModule.cpp:35
@@ -34,1 +34,3 @@
       Result.Nodes.getNodeAs<CXXConstructorDecl>("construct");
+  if (Ctor != Ctor->getCanonicalDecl())
+    return;
----------------
Daniel Jasper wrote:
> Using getCanonicalDecl() makes quite a few implicit assumptions. Why not just 
> use "if (!Ctor->isOutOfLine())"?
I mean without the "!" ;)


http://llvm-reviews.chandlerc.com/D2756
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to