[PATCH] D158671: [NFC][Clang] Fix static analyzer concerns
Mariya Podchishchaeva via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 24 01:08:55 PDT 2023
Fznamznon added inline comments.
================
Comment at: clang/lib/ExtractAPI/DeclarationFragments.cpp:610-612
if (isa<CXXConstructorDecl>(Method)) {
Name = Method->getNameAsString();
+ if (cast<CXXConstructorDecl>(Method)->isExplicit())
----------------
Maybe we can just do this, so we don't `isa` two times.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158671/new/
https://reviews.llvm.org/D158671
More information about the cfe-commits
mailing list