Home
last modified time | relevance | path

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

/external/clang/include/clang/Sema/
DDesignator.h188 SmallVector<Designator, 2> Designators; variable
196 Designators.push_back(D); in AddDesignator()
199 bool empty() const { return Designators.empty(); } in empty()
201 unsigned getNumDesignators() const { return Designators.size(); } in getNumDesignators()
203 assert(Idx < Designators.size()); in getDesignator()
204 return Designators[Idx]; in getDesignator()
/external/clang/lib/AST/
DExpr.cpp3101 const Designator *Designators, in DesignatedInitExpr() argument
3114 this->Designators = new (C) Designator[NumDesignators]; in DesignatedInitExpr()
3124 this->Designators[I] = Designators[I]; in DesignatedInitExpr()
3126 if (this->Designators[I].isArrayDesignator()) { in DesignatedInitExpr()
3139 } else if (this->Designators[I].isArrayRangeDesignator()) { in DesignatedInitExpr()
3167 DesignatedInitExpr::Create(ASTContext &C, Designator *Designators, in Create() argument
3174 return new (Mem) DesignatedInitExpr(C, C.VoidTy, NumDesignators, Designators, in Create()
3189 Designators = new (C) Designator[NumDesigs]; in setDesignators()
3192 Designators[I] = Desigs[I]; in setDesignators()
3251 std::copy_backward(Designators + Idx + 1, in ExpandDesignator()
[all …]
/external/clang/lib/Serialization/
DASTReaderStmt.cpp656 SmallVector<Designator, 4> Designators; in VisitDesignatedInitExpr() local
665 Designators.push_back(Designator(Field->getIdentifier(), DotLoc, in VisitDesignatedInitExpr()
667 Designators.back().setField(Field); in VisitDesignatedInitExpr()
677 Designators.push_back(Designator(Name, DotLoc, FieldLoc)); in VisitDesignatedInitExpr()
687 Designators.push_back(Designator(Index, LBracketLoc, RBracketLoc)); in VisitDesignatedInitExpr()
699 Designators.push_back(Designator(Index, LBracketLoc, EllipsisLoc, in VisitDesignatedInitExpr()
706 Designators.data(), Designators.size()); in VisitDesignatedInitExpr()
/external/clang/include/clang/AST/
DExpr.h3706 Designator *Designators; variable
3710 const Designator *Designators,
3717 NumDesignators(0), NumSubExprs(NumSubExprs), Designators(0) { } in DesignatedInitExpr()
3872 static DesignatedInitExpr *Create(ASTContext &C, Designator *Designators,
3885 designators_iterator designators_begin() { return Designators; } in designators_begin()
3887 return Designators + NumDesignators; in designators_end()
3891 const_designators_iterator designators_begin() const { return Designators; } in designators_begin()
3893 return Designators + NumDesignators; in designators_end()
/external/clang/lib/Sema/
DSemaInit.cpp2190 SmallVector<ASTDesignator, 32> Designators; in ActOnDesignatedInitializer() local
2198 Designators.push_back(ASTDesignator(D.getField(), D.getDotLoc(), in ActOnDesignatedInitializer()
2210 Designators.push_back(ASTDesignator(InitExpressions.size(), in ActOnDesignatedInitializer()
2250 Designators.push_back(ASTDesignator(InitExpressions.size(), in ActOnDesignatedInitializer()
2271 Designators.data(), Designators.size(), in ActOnDesignatedInitializer()