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.cpp3662 const Designator *Designators, in DesignatedInitExpr() argument
3674 this->Designators = new (C) Designator[NumDesignators]; in DesignatedInitExpr()
3684 this->Designators[I] = Designators[I]; in DesignatedInitExpr()
3686 if (this->Designators[I].isArrayDesignator()) { in DesignatedInitExpr()
3699 } else if (this->Designators[I].isArrayRangeDesignator()) { in DesignatedInitExpr()
3727 DesignatedInitExpr::Create(const ASTContext &C, Designator *Designators, in Create() argument
3735 return new (Mem) DesignatedInitExpr(C, C.VoidTy, NumDesignators, Designators, in Create()
3750 Designators = new (C) Designator[NumDesigs]; in setDesignators()
3753 Designators[I] = Desigs[I]; in setDesignators()
3810 std::copy_backward(Designators + Idx + 1, in ExpandDesignator()
[all …]
/external/clang/include/clang/AST/
DExpr.h4043 Designator *Designators; variable
4047 const Designator *Designators,
4053 NumDesignators(0), NumSubExprs(NumSubExprs), Designators(nullptr) { } in DesignatedInitExpr()
4209 Designator *Designators,
4223 designators_iterator designators_begin() { return Designators; } in designators_begin()
4225 return Designators + NumDesignators; in designators_end()
4229 const_designators_iterator designators_begin() const { return Designators; } in designators_begin()
4231 return Designators + NumDesignators; in designators_end()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp780 SmallVector<Designator, 4> Designators; in VisitDesignatedInitExpr() local
789 Designators.push_back(Designator(Field->getIdentifier(), DotLoc, in VisitDesignatedInitExpr()
791 Designators.back().setField(Field); in VisitDesignatedInitExpr()
801 Designators.push_back(Designator(Name, DotLoc, FieldLoc)); in VisitDesignatedInitExpr()
811 Designators.push_back(Designator(Index, LBracketLoc, RBracketLoc)); in VisitDesignatedInitExpr()
823 Designators.push_back(Designator(Index, LBracketLoc, EllipsisLoc, in VisitDesignatedInitExpr()
830 Designators.data(), Designators.size()); in VisitDesignatedInitExpr()
/external/clang/lib/Sema/
DSemaInit.cpp2673 SmallVector<ASTDesignator, 32> Designators; in ActOnDesignatedInitializer() local
2681 Designators.push_back(ASTDesignator(D.getField(), D.getDotLoc(), in ActOnDesignatedInitializer()
2693 Designators.push_back(ASTDesignator(InitExpressions.size(), in ActOnDesignatedInitializer()
2733 Designators.push_back(ASTDesignator(InitExpressions.size(), in ActOnDesignatedInitializer()
2754 Designators.data(), Designators.size(), in ActOnDesignatedInitializer()