@@ -130,7 +130,7 @@ bool ByteCodeExprGen<Emitter>::VisitCastExpr(const CastExpr *CE) {
130
130
case CK_NoOp:
131
131
case CK_UserDefinedConversion:
132
132
case CK_NullToPointer:
133
- return this ->Visit (SubExpr);
133
+ return this ->visit (SubExpr);
134
134
135
135
case CK_IntegralToBoolean:
136
136
case CK_IntegralCast: {
@@ -139,7 +139,7 @@ bool ByteCodeExprGen<Emitter>::VisitCastExpr(const CastExpr *CE) {
139
139
if (!FromT || !ToT)
140
140
return false ;
141
141
142
- if (!this ->Visit (SubExpr))
142
+ if (!this ->visit (SubExpr))
143
143
return false ;
144
144
145
145
// TODO: Emit this only if FromT != ToT.
@@ -167,7 +167,7 @@ bool ByteCodeExprGen<Emitter>::VisitIntegerLiteral(const IntegerLiteral *LE) {
167
167
168
168
template <class Emitter >
169
169
bool ByteCodeExprGen<Emitter>::VisitParenExpr(const ParenExpr *PE) {
170
- return this ->Visit (PE->getSubExpr ());
170
+ return this ->visit (PE->getSubExpr ());
171
171
}
172
172
173
173
template <class Emitter >
@@ -180,7 +180,7 @@ bool ByteCodeExprGen<Emitter>::VisitBinaryOperator(const BinaryOperator *BO) {
180
180
case BO_Comma:
181
181
if (!discard (LHS))
182
182
return false ;
183
- if (!this ->Visit (RHS))
183
+ if (!this ->visit (RHS))
184
184
return false ;
185
185
return true ;
186
186
default :
@@ -264,10 +264,10 @@ bool ByteCodeExprGen<Emitter>::VisitArraySubscriptExpr(
264
264
// Take pointer of LHS, add offset from RHS, narrow result.
265
265
// What's left on the stack after this is a pointer.
266
266
if (Optional<PrimType> IndexT = classify (Index->getType ())) {
267
- if (!this ->Visit (Base))
267
+ if (!this ->visit (Base))
268
268
return false ;
269
269
270
- if (!this ->Visit (Index))
270
+ if (!this ->visit (Index))
271
271
return false ;
272
272
273
273
if (!this ->emitAddOffset (*IndexT, E))
@@ -590,7 +590,7 @@ bool ByteCodeExprGen<Emitter>::dereferenceVar(
590
590
if (VD->hasLocalStorage () && VD->hasInit () && !VD->isConstexpr ()) {
591
591
QualType VT = VD->getType ();
592
592
if (VT.isConstQualified () && VT->isFundamentalType ())
593
- return this ->Visit (VD->getInit ());
593
+ return this ->visit (VD->getInit ());
594
594
}
595
595
}
596
596
@@ -869,7 +869,7 @@ bool ByteCodeExprGen<Emitter>::visitInitializer(const Expr *Initializer) {
869
869
return visitRecordInitializer (Initializer);
870
870
871
871
// Otherwise, visit the expression like normal.
872
- return this ->Visit (Initializer);
872
+ return this ->visit (Initializer);
873
873
}
874
874
875
875
template <class Emitter >
@@ -1066,21 +1066,21 @@ bool ByteCodeExprGen<Emitter>::VisitUnaryOperator(const UnaryOperator *E) {
1066
1066
return false ;
1067
1067
1068
1068
case UO_LNot: // !x
1069
- if (!this ->Visit (SubExpr))
1069
+ if (!this ->visit (SubExpr))
1070
1070
return false ;
1071
1071
return this ->emitInvBool (E);
1072
1072
case UO_Minus: // -x
1073
- if (!this ->Visit (SubExpr))
1073
+ if (!this ->visit (SubExpr))
1074
1074
return false ;
1075
1075
if (Optional<PrimType> T = classify (E->getType ()))
1076
1076
return this ->emitNeg (*T, E);
1077
1077
return false ;
1078
1078
case UO_Plus: // +x
1079
- return this ->Visit (SubExpr); // noop
1079
+ return this ->visit (SubExpr); // noop
1080
1080
1081
1081
case UO_AddrOf: // &x
1082
1082
// We should already have a pointer when we get here.
1083
- return this ->Visit (SubExpr);
1083
+ return this ->visit (SubExpr);
1084
1084
1085
1085
case UO_Deref: // *x
1086
1086
return dereference (
@@ -1093,7 +1093,7 @@ bool ByteCodeExprGen<Emitter>::VisitUnaryOperator(const UnaryOperator *E) {
1093
1093
return DiscardResult ? this ->emitPop (T, E) : true ;
1094
1094
});
1095
1095
case UO_Not: // ~x
1096
- if (!this ->Visit (SubExpr))
1096
+ if (!this ->visit (SubExpr))
1097
1097
return false ;
1098
1098
if (Optional<PrimType> T = classify (E->getType ()))
1099
1099
return this ->emitComp (*T, E);
0 commit comments