[PATCH] D38707: PR13575: Fix USR mangling for functions taking function pointers as arguments.

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 9 15:39:15 PDT 2017

arphaman added inline comments.

Comment at: lib/Index/USRGeneration.cpp:757
-      for (const auto &I : FT->param_types())
+      Out << '(';
+      for (const auto &I : FT->param_types()) {
I believe you can drop the '(' and ')'. The '#' should be enough to prevent the USR collision.


More information about the cfe-commits mailing list