majnemer added inline comments.

================
Comment at: lib/CodeGen/CGDebugInfo.cpp:2479
+    case Type::DeducedTemplateSpecialization: {
+      QualType DT = dyn_cast<DeducedType>(T)->getDeducedType();
+      assert(!DT.isNull() && "Undeduced types shouldn't reach here.");
----------------
You are unconditionally dereferencing a dyn_cast, this seems bad. Is T 
sometimes not a DeducedType or should the dyn_cast be a cast?


https://reviews.llvm.org/D30082



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

Reply via email to