Lines Matching refs:Desig
95 Designation &Desig) { in CheckArrayDesignatorSyntax() argument
99 if (Desig.getNumDesignators() == 1 && in CheckArrayDesignatorSyntax()
100 (Desig.getDesignator(0).isArrayDesignator() || in CheckArrayDesignatorSyntax()
101 Desig.getDesignator(0).isArrayRangeDesignator())) in CheckArrayDesignatorSyntax()
103 else if (Desig.getNumDesignators() > 0) in CheckArrayDesignatorSyntax()
162 Designation Desig; in ParseInitializerWithPotentialDesignator() local
175 Desig.AddDesignator(Designator::getField(Tok.getIdentifierInfo(), DotLoc, in ParseInitializerWithPotentialDesignator()
218 CheckArrayDesignatorSyntax(*this, StartLoc, Desig); in ParseInitializerWithPotentialDesignator()
236 CheckArrayDesignatorSyntax(*this, StartLoc, Desig); in ParseInitializerWithPotentialDesignator()
259 CheckArrayDesignatorSyntax(*this, StartLoc, Desig); in ParseInitializerWithPotentialDesignator()
266 CheckArrayDesignatorSyntax(*this, StartLoc, Desig); in ParseInitializerWithPotentialDesignator()
322 CheckArrayDesignatorSyntax(*this, Tok.getLocation(), Desig); in ParseInitializerWithPotentialDesignator()
331 Desig.AddDesignator(Designator::getArray(Idx.get(), StartLoc)); in ParseInitializerWithPotentialDesignator()
342 Desig.AddDesignator(Designator::getArrayRange(Idx.get(), in ParseInitializerWithPotentialDesignator()
348 Desig.getDesignator(Desig.getNumDesignators() - 1).setRBracketLoc( in ParseInitializerWithPotentialDesignator()
356 assert(!Desig.empty() && "Designator is empty?"); in ParseInitializerWithPotentialDesignator()
361 return Actions.ActOnDesignatedInitializer(Desig, EqualLoc, false, in ParseInitializerWithPotentialDesignator()
369 if (Desig.getNumDesignators() == 1 && in ParseInitializerWithPotentialDesignator()
370 (Desig.getDesignator(0).isArrayDesignator() || in ParseInitializerWithPotentialDesignator()
371 Desig.getDesignator(0).isArrayRangeDesignator())) { in ParseInitializerWithPotentialDesignator()
374 return Actions.ActOnDesignatedInitializer(Desig, Tok.getLocation(), in ParseInitializerWithPotentialDesignator()