Home
last modified time | relevance | path

Searched refs:Designators (Results 1 – 5 of 5) sorted by relevance

/external/clang/include/clang/Sema/
DDesignator.h183 SmallVector<Designator, 2> Designators; variable
188 Designators.push_back(D); in AddDesignator()
191 bool empty() const { return Designators.empty(); } in empty()
193 unsigned getNumDesignators() const { return Designators.size(); } in getNumDesignators()
195 assert(Idx < Designators.size()); in getDesignator()
196 return Designators[Idx]; in getDesignator()
/external/clang/lib/AST/
DExpr.cpp3631 const Designator *Designators, in DesignatedInitExpr() argument
3643 this->Designators = new (C) Designator[NumDesignators]; in DesignatedInitExpr()
3653 this->Designators[I] = Designators[I]; in DesignatedInitExpr()
3655 if (this->Designators[I].isArrayDesignator()) { in DesignatedInitExpr()
3668 } else if (this->Designators[I].isArrayRangeDesignator()) { in DesignatedInitExpr()
3696 DesignatedInitExpr::Create(ASTContext &C, Designator *Designators, in Create() argument
3703 return new (Mem) DesignatedInitExpr(C, C.VoidTy, NumDesignators, Designators, in Create()
3718 Designators = new (C) Designator[NumDesigs]; in setDesignators()
3721 Designators[I] = Desigs[I]; in setDesignators()
3787 std::copy_backward(Designators + Idx + 1, in ExpandDesignator()
[all …]
/external/clang/lib/Serialization/
DASTReaderStmt.cpp752 SmallVector<Designator, 4> Designators; in VisitDesignatedInitExpr() local
761 Designators.push_back(Designator(Field->getIdentifier(), DotLoc, in VisitDesignatedInitExpr()
763 Designators.back().setField(Field); in VisitDesignatedInitExpr()
773 Designators.push_back(Designator(Name, DotLoc, FieldLoc)); in VisitDesignatedInitExpr()
783 Designators.push_back(Designator(Index, LBracketLoc, RBracketLoc)); in VisitDesignatedInitExpr()
795 Designators.push_back(Designator(Index, LBracketLoc, EllipsisLoc, in VisitDesignatedInitExpr()
802 Designators.data(), Designators.size()); in VisitDesignatedInitExpr()
/external/clang/include/clang/AST/
DExpr.h3882 Designator *Designators; variable
3886 const Designator *Designators,
3892 NumDesignators(0), NumSubExprs(NumSubExprs), Designators(0) { } in DesignatedInitExpr()
4047 static DesignatedInitExpr *Create(ASTContext &C, Designator *Designators,
4060 designators_iterator designators_begin() { return Designators; } in designators_begin()
4062 return Designators + NumDesignators; in designators_end()
4066 const_designators_iterator designators_begin() const { return Designators; } in designators_begin()
4068 return Designators + NumDesignators; in designators_end()
/external/clang/lib/Sema/
DSemaInit.cpp2344 SmallVector<ASTDesignator, 32> Designators; in ActOnDesignatedInitializer() local
2352 Designators.push_back(ASTDesignator(D.getField(), D.getDotLoc(), in ActOnDesignatedInitializer()
2364 Designators.push_back(ASTDesignator(InitExpressions.size(), in ActOnDesignatedInitializer()
2404 Designators.push_back(ASTDesignator(InitExpressions.size(), in ActOnDesignatedInitializer()
2425 Designators.data(), Designators.size(), in ActOnDesignatedInitializer()