[PATCH] D38643: PR13575: Fix USR mangling for fixed-size arrays.

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 9 10:27:26 PDT 2017


arphaman added inline comments.


================
Comment at: lib/Index/USRGeneration.cpp:820
+    if (const auto *const AT = dyn_cast<ArrayType>(T)) {
+      Out << "{";
+      switch (AT->getSizeModifier()) {
----------------
You might also want to use the character literals for one char strings for efficiency.


https://reviews.llvm.org/D38643





More information about the cfe-commits mailing list