================ @@ -349,6 +347,18 @@ Attribute Changes in Clang - New format attributes ``gnu_printf``, ``gnu_scanf``, ``gnu_strftime`` and ``gnu_strfmon`` are added as aliases for ``printf``, ``scanf``, ``strftime`` and ``strfmon``. (#GH16219) +- Added the ``flatten_depth`` attribute, which provides a hint to the inliner to aggressively + inline calls within the attributed function up to a specified depth. This attribute takes + a single unsigned integer argument representing the requested depth of inlining. Unlike + a strict limit, the requested depth is a hint that works cooperatively with other inlining + mechanisms: ---------------- erichkeane wrote:
```suggestion mechanisms, including: ``` I don't think we want to imply the below list is comprehensive :) https://github.com/llvm/llvm-project/pull/165777 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
