Searched refs:Designators (Results 1 – 6 of 6) 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 | 3523 llvm::ArrayRef<Designator> Designators, in DesignatedInitExpr() argument 3534 NumDesignators(Designators.size()), NumSubExprs(IndexExprs.size() + 1) { in DesignatedInitExpr() 3535 this->Designators = new (C) Designator[NumDesignators]; in DesignatedInitExpr() 3545 this->Designators[I] = Designators[I]; in DesignatedInitExpr() 3547 if (this->Designators[I].isArrayDesignator()) { in DesignatedInitExpr() 3560 } else if (this->Designators[I].isArrayRangeDesignator()) { in DesignatedInitExpr() 3589 llvm::ArrayRef<Designator> Designators, in Create() argument 3595 return new (Mem) DesignatedInitExpr(C, C.VoidTy, Designators, in Create() 3610 Designators = new (C) Designator[NumDesigs]; in setDesignators() 3613 Designators[I] = Desigs[I]; in setDesignators() [all …]
|
D | ASTImporter.cpp | 5454 SmallVector<Designator, 4> Designators(DIE->size()); in VisitDesignatedInitExpr() local 5455 llvm::transform(DIE->designators(), Designators.begin(), in VisitDesignatedInitExpr() 5465 Importer.getToContext(), Designators, in VisitDesignatedInitExpr()
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 785 SmallVector<Designator, 4> Designators; in VisitDesignatedInitExpr() local 794 Designators.push_back(Designator(Field->getIdentifier(), DotLoc, in VisitDesignatedInitExpr() 796 Designators.back().setField(Field); in VisitDesignatedInitExpr() 806 Designators.push_back(Designator(Name, DotLoc, FieldLoc)); in VisitDesignatedInitExpr() 816 Designators.push_back(Designator(Index, LBracketLoc, RBracketLoc)); in VisitDesignatedInitExpr() 828 Designators.push_back(Designator(Index, LBracketLoc, EllipsisLoc, in VisitDesignatedInitExpr() 835 Designators.data(), Designators.size()); in VisitDesignatedInitExpr()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 3979 Designator *Designators; variable 3982 llvm::ArrayRef<Designator> Designators, 3988 NumDesignators(0), NumSubExprs(NumSubExprs), Designators(nullptr) { } in DesignatedInitExpr() 4144 llvm::ArrayRef<Designator> Designators, 4157 return {Designators, NumDesignators}; in designators() 4161 return {Designators, NumDesignators}; in designators()
|
/external/clang/lib/Sema/ |
D | SemaInit.cpp | 2759 SmallVector<ASTDesignator, 32> Designators; in ActOnDesignatedInitializer() local 2767 Designators.push_back(ASTDesignator(D.getField(), D.getDotLoc(), in ActOnDesignatedInitializer() 2779 Designators.push_back(ASTDesignator(InitExpressions.size(), in ActOnDesignatedInitializer() 2819 Designators.push_back(ASTDesignator(InitExpressions.size(), in ActOnDesignatedInitializer() 2840 Designators, in ActOnDesignatedInitializer()
|