courbet added inline comments.

================
Comment at: lib/Sema/SemaTemplate.cpp:3076
+    return false;
+  const RecordDecl * Record = NNS->getAsRecordDecl();
+  // In namespace "::std".
----------------
aaron.ballman wrote:
> Formatting is incorrect here; you should run the patch through clang-format.
> 
> Can `getAsRecordDecl()` return null even when looking for a type out of a 
> NNS? If so, you should assert/test for that.
Good point, I've added a test.


Repository:
  rC Clang

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

https://reviews.llvm.org/D54903



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

Reply via email to