[PATCH] D133924: add clang_CXXMethod_isDeleted function

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 15 03:17:45 PDT 2022


tbaeder added inline comments.


================
Comment at: clang/tools/libclang/CIndex.cpp:8870
+  const CXXMethodDecl *Method =
+      D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr;
+  return (Method && Method->isDeleted()) ? 1 : 0;
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133924



More information about the cfe-commits mailing list