Home
last modified time | relevance | path

Searched refs:Desig (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/Parse/
DParseInit.cpp95 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()
[all …]
/external/clang/lib/Sema/
DTreeTransform.h2178 ExprResult RebuildDesignatedInitExpr(Designation &Desig, in RebuildDesignatedInitExpr() argument
2184 = SemaRef.ActOnDesignatedInitializer(Desig, EqualOrColonLoc, GNUSyntax, in RebuildDesignatedInitExpr()
8545 Designation Desig; in TransformDesignatedInitExpr() local
8559 Desig.AddDesignator(Designator::getField(D->getFieldName(), in TransformDesignatedInitExpr()
8570 Desig.AddDesignator(Designator::getArray(Index.get(), in TransformDesignatedInitExpr()
8588 Desig.AddDesignator(Designator::getArrayRange(Start.get(), in TransformDesignatedInitExpr()
8605 return getDerived().RebuildDesignatedInitExpr(Desig, ArrayExprs, in TransformDesignatedInitExpr()
DSemaInit.cpp2666 ExprResult Sema::ActOnDesignatedInitializer(Designation &Desig, in ActOnDesignatedInitializer() argument
2677 for (unsigned Idx = 0; Idx < Desig.getNumDesignators(); ++Idx) { in ActOnDesignatedInitializer()
2678 const Designator &D = Desig.getDesignator(Idx); in ActOnDesignatedInitializer()
2750 Desig.ClearExprs(*this); in ActOnDesignatedInitializer()
/external/clang/include/clang/Sema/
DSema.h3954 ExprResult ActOnDesignatedInitializer(Designation &Desig,