Lines Matching defs:Desig
95 Designation &Desig) {
99 if (Desig.getNumDesignators() == 1 &&
100 (Desig.getDesignator(0).isArrayDesignator() ||
101 Desig.getDesignator(0).isArrayRangeDesignator()))
103 else if (Desig.getNumDesignators() > 0)
159 // Desig - This is initialized when we see our first designator. We may have
162 Designation Desig;
175 Desig.AddDesignator(Designator::getField(Tok.getIdentifierInfo(), DotLoc,
218 CheckArrayDesignatorSyntax(*this, StartLoc, Desig);
236 CheckArrayDesignatorSyntax(*this, StartLoc, Desig);
259 CheckArrayDesignatorSyntax(*this, StartLoc, Desig);
266 CheckArrayDesignatorSyntax(*this, StartLoc, Desig);
322 CheckArrayDesignatorSyntax(*this, Tok.getLocation(), Desig);
331 Desig.AddDesignator(Designator::getArray(Idx.get(), StartLoc));
342 Desig.AddDesignator(Designator::getArrayRange(Idx.get(),
348 Desig.getDesignator(Desig.getNumDesignators() - 1).setRBracketLoc(
356 assert(!Desig.empty() && "Designator is empty?");
361 return Actions.ActOnDesignatedInitializer(Desig, EqualLoc, false,
369 if (Desig.getNumDesignators() == 1 &&
370 (Desig.getDesignator(0).isArrayDesignator() ||
371 Desig.getDesignator(0).isArrayRangeDesignator())) {
374 return Actions.ActOnDesignatedInitializer(Desig, Tok.getLocation(),