aaron.ballman added a comment.

Generally LGTM with a small nit.


================
Comment at: lib/AST/ASTContext.cpp:4456
@@ +4455,3 @@
+      // the template parameter and not an expression involving the template 
parameter.
+      auto *E = Arg.getAsExpr()->IgnoreImpCasts();
+      while(auto *DeclRef = dyn_cast_or_null<DeclRefExpr>(E)) {
----------------
`const auto *` (and propagate it to other declarations)?


https://reviews.llvm.org/D22587



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

Reply via email to