================
@@ -10566,6 +10637,10 @@ Sema::ActOnFunctionDeclarator(Scope *S, Declarator &D, 
DeclContext *DC,
       }
     }
 
+    if (getLangOpts().BoundsSafety) {
----------------
ak1932 wrote:

> So probably we should just remove the guard?

I think for the time being we can guard it on whether bounds safety extension 
is enabled

https://github.com/llvm/llvm-project/pull/181550
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to