Skip to content

Commit ae26c4c

Browse files
h0nzZikDwight Guth
authored andcommitted
rename isNoInit => hasInit
1 parent f74acbf commit ae26c4c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

semantics/cpp/language/translation/decl/initializer.k

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,13 +326,13 @@ module CPP-TRANSLATION-DECL-INITIALIZER
326326

327327
syntax Bool ::= hasInit(CId, Map) [function]
328328

329-
rule hasInit(X:CId, X |-> M::Map _) => notBool isNoInit(M)
329+
rule hasInit(X:CId, X |-> M::Map _) => notBool hasNoInit(M)
330330

331-
syntax Bool ::= isNoInit(Map) [function]
331+
syntax Bool ::= hasNoInit(Map) [function]
332332

333-
rule isNoInit(_ |-> (_, NoInit())) => true
333+
rule hasNoInit(_ |-> (_, NoInit())) => true
334334

335-
rule isNoInit(_ |-> _) => false [owise]
335+
rule hasNoInit(_ |-> _) => false [owise]
336336

337337
syntax Expr ::= classAggInit(base: LVal, fields: List, initList: List, initializers: Map, class: Class, initExp: K, ctype: ConstructorType, duration: Duration)
338338

0 commit comments

Comments
 (0)