[PATCH] D153536: [Clang] Implement P2169 A nice placeholder with no name
Shafik Yaghmour via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 23 21:29:46 PDT 2023
shafik added inline comments.
================
Comment at: clang/lib/Sema/SemaDecl.cpp:18217
+ NewFD->setIsPlaceholderVar(LangOpts.CPlusPlus && II && II->isPlaceholder());
if (PrevDecl && !isa<TagDecl>(PrevDecl)) {
----------------
Why can't we fold this into `FieldDecl::Create`? This comment applies in some other places as well.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153536/new/
https://reviews.llvm.org/D153536
More information about the cfe-commits
mailing list