[clang] [Clang] Implement the 'counted_by' attribute (PR #76348)

Nick Desaulniers via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 8 10:58:59 PST 2024


================
@@ -365,6 +365,10 @@ class DefaultFilterCCC final : public CorrectionCandidateCallback {
 template <class C>
 class DeclFilterCCC final : public CorrectionCandidateCallback {
 public:
+  explicit DeclFilterCCC(const IdentifierInfo *Typo = nullptr,
+                         NestedNameSpecifier *TypoNNS = nullptr)
----------------
nickdesaulniers wrote:

I don't think you need `explicit` if the constructor accepts more than 1 argument.

https://github.com/llvm/llvm-project/pull/76348


More information about the cfe-commits mailing list