[PATCH] Simplify microsoft mangling of template instantiations

Timur Iskhodzhanov timurrrr at google.com
Fri Jun 6 05:33:33 PDT 2014

The change looks good -- it simplifies the code and makes it faster.

Do you have a good way to make sure we don't regress other than commit-and-see-if-it-explodes?

Comment at: lib/AST/MicrosoftMangle.cpp:678
@@ +677,3 @@
+    if (Found == NameBackReferences.end()) {
+      Out << BackReferenceKey;
+      if (NameBackReferences.size() < 10) {
This variable is no longer used as just a key.
Please use something like `TemplateMangling` or `TDMangling` instead?


More information about the cfe-commits mailing list