================
@@ -10566,6 +10637,10 @@ Sema::ActOnFunctionDeclarator(Scope *S, Declarator &D,
DeclContext *DC,
}
}
+ if (getLangOpts().BoundsSafety) {
----------------
rapidsna wrote:
> The guard had worked with the flags -Xclang -fexperimental-bounds-safety, so
> I thought it would be fine for now.
Sorry, what I meant is that it's currently a CC1 flag, so it's not directly
user-facing. Since the feature isn't functional yet, guarding the warning
behind it means it won't actually get any use.
> But, it's better to remove it if we need the community consensus on the
> feature 👍
Sounds good thanks!
https://github.com/llvm/llvm-project/pull/181550
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits