@@ -204,7 +204,7 @@ class ClassAggregateLiteral extends AggregateLiteral {
204204 * This predicate may have multiple results since a field can be initialized
205205 * multiple times in the same initializer.
206206 */
207- Expr getFieldExpr ( Field field ) { result = this .getFieldExpr ( field , _) }
207+ deprecated Expr getFieldExpr ( Field field ) { result = this .getFieldExpr ( field , _) }
208208
209209 /**
210210 * Gets the expression within the aggregate literal that is used to initialize
@@ -238,7 +238,7 @@ class ClassAggregateLiteral extends AggregateLiteral {
238238 (
239239 // If the field has an explicit initializer expression, then the field is
240240 // initialized.
241- exists ( this .getFieldExpr ( field ) )
241+ exists ( this .getAFieldExpr ( field ) )
242242 or
243243 // If the type is not a union, all fields without initializers are value
244244 // initialized.
@@ -262,7 +262,7 @@ class ClassAggregateLiteral extends AggregateLiteral {
262262 pragma [ inline]
263263 predicate isValueInitialized ( Field field ) {
264264 this .isInitialized ( field ) and
265- not exists ( this .getFieldExpr ( field ) )
265+ not exists ( this .getAFieldExpr ( field ) )
266266 }
267267}
268268
@@ -309,7 +309,7 @@ class ArrayOrVectorAggregateLiteral extends AggregateLiteral {
309309 * This predicate may have multiple results since an element can be initialized
310310 * multiple times in the same initializer.
311311 */
312- Expr getElementExpr ( int elementIndex ) { result = this .getElementExpr ( elementIndex , _) }
312+ deprecated Expr getElementExpr ( int elementIndex ) { result = this .getElementExpr ( elementIndex , _) }
313313
314314 /**
315315 * Gets the expression within the aggregate literal that is used to initialize
@@ -351,7 +351,7 @@ class ArrayOrVectorAggregateLiteral extends AggregateLiteral {
351351 bindingset [ elementIndex]
352352 predicate isValueInitialized ( int elementIndex ) {
353353 this .isInitialized ( elementIndex ) and
354- not exists ( this .getElementExpr ( elementIndex ) )
354+ not exists ( this .getAnElementExpr ( elementIndex ) )
355355 }
356356}
357357
0 commit comments