================ @@ -1145,13 +1145,15 @@ void DeclPrinter::VisitLinkageSpecDecl(LinkageSpecDecl *D) { l = "C++"; } + bool HasMoreThanOneDecl = + *D->decls_begin() && D->decls_begin()->getNextDeclInContext(); ---------------- erichkeane wrote:
```suggestion !D->decls().empty() && (++D->decls_begin() ) != D->decls_end()` ``` WDYT? https://github.com/llvm/llvm-project/pull/93131 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits