[PATCH] D68818: [hip][cuda] Fix the extended lambda name mangling issue.

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 18 12:59:02 PDT 2019


rsmith accepted this revision.
rsmith added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/include/clang/AST/DeclCXX.h:1713
+  /// mangling number.
+  bool hasKnownInternalLinkage() const {
+    assert(isLambda() && "Not a lambda closure type!");
----------------
This function name should mention that it's only applicable to lambdas.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68818/new/

https://reviews.llvm.org/D68818





More information about the cfe-commits mailing list