[clang] [Clang][AArch64] Remove unwarranted 'cannot be used in non-streaming mode' diagnostic. (PR #150592)
Sander de Smalen via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 25 05:47:40 PDT 2025
================
@@ -5988,11 +5988,9 @@ bool clang::IsArmStreamingFunction(const FunctionDecl *FD,
if (FD->hasAttr<ArmLocallyStreamingAttr>())
return true;
- if (const Type *Ty = FD->getType().getTypePtrOrNull())
----------------
sdesmalen-arm wrote:
> given that it was previously valid
It was never previously valid to call it with an object that is still in the process of being defined, we just hid the issue by returning a bogus result.
https://github.com/llvm/llvm-project/pull/150592
More information about the cfe-commits
mailing list