Skip to content

Commit 2f144ac

Browse files
authored
[clang][bytecode][NFC] Remove containsErrors check from visitInitializer (#105811)
1 parent 2b4b909 commit 2f144ac

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)