[PATCH] D45451: [ItaniumMangle] Undeduced auto type doesn't belong in the substitution table

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 13 00:12:12 PDT 2018


rjmccall added inline comments.


================
Comment at: clang/lib/AST/ItaniumMangle.cpp:2342
+  if (isa<AutoType>(Ty))
+    return false;
   return true;
----------------
I agree with your analysis that this shouldn't be a substitution candidate.  However, I think this probably needs an ABI-compatibility guard.


Repository:
  rC Clang

https://reviews.llvm.org/D45451





More information about the cfe-commits mailing list