================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits