[PATCH] D34523: AST: mangle BlockDecls under MS ABI

Saleem Abdulrasool via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 26 15:02:13 PDT 2017


compnerd marked 2 inline comments as done.
compnerd added inline comments.


================
Comment at: lib/AST/MicrosoftMangle.cpp:988
+      if (const auto *RD = dyn_cast<RecordDecl>(DC))
+        mangleName(RD);
+      else
----------------
compnerd wrote:
> efriedma wrote:
> > The call to mangleName() looks a little weird... I would have expected a call to mangleUnqualifiedName or something like that.  (If there's some reason for the asymmetry, a brief comment explaining it would be fine.)
> Accounting for the parameter like we do for lambdas makes this unnecessary.
Err, still need it for the fields; added a comment.


Repository:
  rL LLVM

https://reviews.llvm.org/D34523





More information about the cfe-commits mailing list