================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits