================ @@ -755,7 +755,7 @@ bool Sema::checkMustTailAttr(const Stmt *St, const Attr &MTA) { return true; }; - const auto *CallerDecl = dyn_cast<FunctionDecl>(CurContext); + const auto *CallerDecl = getCurFunctionDecl(); ---------------- ricejasonf wrote:
Stuff like this is from the implicit template region stuffs. There is another one like that that will likely fix that attr-tail.m test that was failing. https://github.com/llvm/llvm-project/pull/121417 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits