[clang] [analyzer] Add std::any checker (PR #76580)

via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 30 03:13:57 PST 2023


================
@@ -30,6 +24,9 @@ bool isMoveAssignmentCall(const CallEvent &Call);
 bool isMoveConstructorCall(const CallEvent &Call);
 bool isStdType(const Type *Type, const std::string &TypeName);
 bool isStdVariant(const Type *Type);
+bool isStdAny(const Type *Type);
----------------
whisperity wrote:

```suggestion
bool isStdAny(const Type *Type);
bool isStdVariant(const Type *Type);
```

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


More information about the cfe-commits mailing list