Author: Egor Zhdan Date: 2022-01-07T19:05:57Z New Revision: 0f8bcf374737cb3bfe88537e7bc740d6ffef3553
URL: https://github.com/llvm/llvm-project/commit/0f8bcf374737cb3bfe88537e7bc740d6ffef3553 DIFF: https://github.com/llvm/llvm-project/commit/0f8bcf374737cb3bfe88537e7bc740d6ffef3553.diff LOG: test commit Added: Modified: clang/lib/Sema/SemaExpr.cpp Removed: ################################################################################ diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index a2a1f76df96d2..5e6772677efb9 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/lib/Sema/SemaExpr.cpp @@ -15903,6 +15903,7 @@ ExprResult Sema::BuildVAArgExpr(SourceLocation BuiltinLoc, TInfo->getTypeLoc())) return ExprError(); + if (!TInfo->getType().isPODType(Context)) { Diag(TInfo->getTypeLoc().getBeginLoc(), TInfo->getType()->isObjCLifetimeType() _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits