[clang] [analyzer] Unbreak [[clang::suppress]] on checkers without decl-with-issue. (PR #79398)

Balazs Benics via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 25 02:23:20 PST 2024


================
@@ -27,6 +28,8 @@ class PathDiagnosticLocation;
 
 class BugSuppression {
 public:
+  BugSuppression(ASTContext &ACtx) : ACtx(ACtx) {}
----------------
steakhal wrote:

```suggestion
  explicit BugSuppression(const ASTContext &ACtx) : ACtx(ACtx) {}
```

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


More information about the cfe-commits mailing list