Searched refs:Designators (Results 1 – 5 of 5) sorted by relevance
/external/clang/include/clang/Sema/ |
D | Designator.h | 183 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/ |
D | Expr.cpp | 3614 const Designator *Designators, in DesignatedInitExpr() argument 3626 this->Designators = new (C) Designator[NumDesignators]; in DesignatedInitExpr() 3636 this->Designators[I] = Designators[I]; in DesignatedInitExpr() 3638 if (this->Designators[I].isArrayDesignator()) { in DesignatedInitExpr() 3651 } else if (this->Designators[I].isArrayRangeDesignator()) { in DesignatedInitExpr() 3679 DesignatedInitExpr::Create(ASTContext &C, Designator *Designators, in Create() argument 3686 return new (Mem) DesignatedInitExpr(C, C.VoidTy, NumDesignators, Designators, in Create() 3701 Designators = new (C) Designator[NumDesigs]; in setDesignators() 3704 Designators[I] = Desigs[I]; in setDesignators() 3770 std::copy_backward(Designators + Idx + 1, in ExpandDesignator() [all …]
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 667 SmallVector<Designator, 4> Designators; in VisitDesignatedInitExpr() local 676 Designators.push_back(Designator(Field->getIdentifier(), DotLoc, in VisitDesignatedInitExpr() 678 Designators.back().setField(Field); in VisitDesignatedInitExpr() 688 Designators.push_back(Designator(Name, DotLoc, FieldLoc)); in VisitDesignatedInitExpr() 698 Designators.push_back(Designator(Index, LBracketLoc, RBracketLoc)); in VisitDesignatedInitExpr() 710 Designators.push_back(Designator(Index, LBracketLoc, EllipsisLoc, in VisitDesignatedInitExpr() 717 Designators.data(), Designators.size()); in VisitDesignatedInitExpr()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 3840 Designator *Designators; variable 3844 const Designator *Designators, 3850 NumDesignators(0), NumSubExprs(NumSubExprs), Designators(0) { } in DesignatedInitExpr() 4005 static DesignatedInitExpr *Create(ASTContext &C, Designator *Designators, 4018 designators_iterator designators_begin() { return Designators; } in designators_begin() 4020 return Designators + NumDesignators; in designators_end() 4024 const_designators_iterator designators_begin() const { return Designators; } in designators_begin() 4026 return Designators + NumDesignators; in designators_end()
|
/external/clang/lib/Sema/ |
D | SemaInit.cpp | 2187 SmallVector<ASTDesignator, 32> Designators; in ActOnDesignatedInitializer() local 2195 Designators.push_back(ASTDesignator(D.getField(), D.getDotLoc(), in ActOnDesignatedInitializer() 2207 Designators.push_back(ASTDesignator(InitExpressions.size(), in ActOnDesignatedInitializer() 2247 Designators.push_back(ASTDesignator(InitExpressions.size(), in ActOnDesignatedInitializer() 2268 Designators.data(), Designators.size(), in ActOnDesignatedInitializer()
|