[clang] nonblocking/nonallocating attributes (was: nolock/noalloc) (PR #84983)

via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 10 09:57:30 PDT 2024


================
@@ -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


More information about the cfe-commits mailing list