[clang] nonblocking/nonallocating attributes (was: nolock/noalloc) (PR #84983)
via cfe-commits
cfe-commits at lists.llvm.org
Sat May 4 09:40:32 PDT 2024
================
@@ -4639,6 +4644,312 @@ class FunctionNoProtoType : public FunctionType, public llvm::FoldingSetNode {
}
};
+// ------------------------------------------------------------------------------
+
+class Decl;
+class CXXMethodDecl;
+struct FunctionEffectDiff;
+class FunctionEffectsRef;
+class FunctionEffectSet;
----------------
Sirraide wrote:
nit: forward declarations of anything not declared in this header should be closer to the top of the file so we don’t duplicate them needlessly.
https://github.com/llvm/llvm-project/pull/84983
More information about the cfe-commits
mailing list