[clang] [Clang][SME] Detect always_inline used with mismatched streaming attributes (PR #77936)

Matthew Devereau via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 15 03:46:31 PST 2024


================
@@ -279,6 +279,8 @@ def err_builtin_needs_feature : Error<"%0 needs target feature %1">;
 def err_function_needs_feature : Error<
   "always_inline function %1 requires target feature '%2', but would "
   "be inlined into function %0 that is compiled without support for '%2'">;
+def err_function_alwaysinline_attribute_mismatch : Error<
----------------
MDevereau wrote:

```suggestion
def err_function_always_inline_attribute_mismatch : Error<
```

https://github.com/llvm/llvm-project/pull/77936


More information about the cfe-commits mailing list