Skip to content

Commit b8f05fb

Browse files
tbaederrcjdb
authored andcommitted
[clang][bytecode][NFC] Remove containsErrors check from visitInitializer (llvm#105811)
1 parent 55a4443 commit b8f05fb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

clang/lib/AST/ByteCode/Compiler.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3301,9 +3301,6 @@ template <class Emitter>
33013301
bool Compiler<Emitter>::visitInitializer(const Expr *E) {
33023302
assert(!classify(E->getType()));
33033303

3304-
if (E->containsErrors())
3305-
return this->emitError(E);
3306-
33073304
if (!this->checkLiteralType(E))
33083305
return false;
33093306

0 commit comments

Comments
 (0)