================ @@ -3144,6 +3154,9 @@ class Sema final { QualType T, TypeSourceInfo *TSInfo, StorageClass SC); + /// Potentially add a FunctionDecl or BlockDecl to DeclsWithEffectsToVerify. + void CheckAddCallableWithEffects(const Decl *D, FunctionEffectSet FX); ---------------- Sirraide wrote:
I’m not particularly good at naming myself, but maybe something like `CheckDeclWithEffects` would be less of a headache to parse. If you can think of a better name, feel free to go with that instead of course. https://github.com/llvm/llvm-project/pull/84983 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits