llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) <details> <summary>Changes</summary> --- Full diff: https://github.com/llvm/llvm-project/pull/105811.diff 1 Files Affected: - (modified) clang/lib/AST/ByteCode/Compiler.cpp (-3) ``````````diff diff --git a/clang/lib/AST/ByteCode/Compiler.cpp b/clang/lib/AST/ByteCode/Compiler.cpp index f11196d2b02707..0fc942a4f1bc4f 100644 --- a/clang/lib/AST/ByteCode/Compiler.cpp +++ b/clang/lib/AST/ByteCode/Compiler.cpp @@ -3301,9 +3301,6 @@ template <class Emitter> bool Compiler<Emitter>::visitInitializer(const Expr *E) { assert(!classify(E->getType())); - if (E->containsErrors()) - return this->emitError(E); - if (!this->checkLiteralType(E)) return false; `````````` </details> https://github.com/llvm/llvm-project/pull/105811 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits