Home
last modified time | relevance | path

Searched refs:Designator (Results 1 – 10 of 10) sorted by relevance

/external/clang/include/clang/Sema/
DDesignator.h37 class Designator {
126 static Designator getField(const IdentifierInfo *II, SourceLocation DotLoc, in getField()
128 Designator D; in getField()
136 static Designator getArray(Expr *Index, in getArray()
138 Designator D; in getArray()
146 static Designator getArrayRange(Expr *Start, in getArrayRange()
150 Designator D; in getArrayRange()
183 SmallVector<Designator, 2> Designators;
187 void AddDesignator(Designator D) { in AddDesignator()
194 const Designator &getDesignator(unsigned Idx) const { in getDesignator()
/external/clang/lib/Parse/
DParseInit.cpp154 D.AddDesignator(Designator::getField(FieldName, SourceLocation(), NameLoc)); in ParseInitializerWithPotentialDesignator()
175 Desig.AddDesignator(Designator::getField(Tok.getIdentifierInfo(), DotLoc, in ParseInitializerWithPotentialDesignator()
331 Desig.AddDesignator(Designator::getArray(Idx.get(), StartLoc)); in ParseInitializerWithPotentialDesignator()
342 Desig.AddDesignator(Designator::getArrayRange(Idx.get(), in ParseInitializerWithPotentialDesignator()
/external/clang/lib/AST/
DExprConstant.cpp997 SubobjectDesignator Designator; member
1003 SubobjectDesignator &getLValueDesignator() { return Designator; } in getLValueDesignator()
1004 const SubobjectDesignator &getLValueDesignator() const { return Designator;} in getLValueDesignator()
1007 if (Designator.Invalid) in moveInto()
1010 V = APValue(Base, Offset, Designator.Entries, in moveInto()
1011 Designator.IsOnePastTheEnd, CallIndex); in moveInto()
1019 Designator = SubobjectDesignator(Ctx, V); in setFrom()
1027 Designator = SubobjectDesignator(getType(B)); in set()
1038 if (Designator.Invalid) in checkNullPointer()
1043 Designator.setInvalid(); in checkNullPointer()
[all …]
DExpr.cpp3652 IdentifierInfo *DesignatedInitExpr::Designator::getFieldName() const { in getFieldName()
3662 const Designator *Designators, in DesignatedInitExpr()
3674 this->Designators = new (C) Designator[NumDesignators]; in DesignatedInitExpr()
3727 DesignatedInitExpr::Create(const ASTContext &C, Designator *Designators, in Create()
3748 const Designator *Desigs, in setDesignators()
3750 Designators = new (C) Designator[NumDesigs]; in setDesignators()
3766 Designator &First = in getLocStart()
3783 Expr *DesignatedInitExpr::getArrayIndex(const Designator& D) const { in getArrayIndex()
3784 assert(D.Kind == Designator::ArrayDesignator && "Requires array designator"); in getArrayIndex()
3789 Expr *DesignatedInitExpr::getArrayRangeStart(const Designator &D) const { in getArrayRangeStart()
[all …]
/external/clang/include/clang/AST/
DExpr.h4022 class Designator;
4043 Designator *Designators;
4047 const Designator *Designators,
4093 class Designator {
4110 Designator() {} in Designator() function
4113 Designator(const IdentifierInfo *FieldName, SourceLocation DotLoc, in Designator() function
4122 Designator(unsigned Index, SourceLocation LBracketLoc, in Designator() function
4132 Designator(unsigned Index, SourceLocation LBracketLoc, in Designator() function
4209 Designator *Designators,
4222 typedef Designator *designators_iterator;
[all …]
/external/clang/lib/Sema/
DSemaInit.cpp1868 typedef DesignatedInitExpr::Designator Designator; in ExpandAnonymousFieldDesignator() typedef
1871 SmallVector<Designator, 4> Replacements; in ExpandAnonymousFieldDesignator()
1875 Replacements.push_back(Designator((IdentifierInfo *)nullptr, in ExpandAnonymousFieldDesignator()
1879 Replacements.push_back(Designator((IdentifierInfo *)nullptr, in ExpandAnonymousFieldDesignator()
1994 DesignatedInitExpr::Designator *D = DIE->getDesignator(DesigIdx); in CheckDesignatedInitializer()
2214 DesignatedInitExpr::Designator *NextD in CheckDesignatedInitializer()
2670 typedef DesignatedInitExpr::Designator ASTDesignator; in ActOnDesignatedInitializer()
2678 const Designator &D = Desig.getDesignator(Idx); in ActOnDesignatedInitializer()
2680 case Designator::FieldDesignator: in ActOnDesignatedInitializer()
2685 case Designator::ArrayDesignator: { in ActOnDesignatedInitializer()
[all …]
DTreeTransform.h8559 Desig.AddDesignator(Designator::getField(D->getFieldName(), in TransformDesignatedInitExpr()
8570 Desig.AddDesignator(Designator::getArray(Index.get(), in TransformDesignatedInitExpr()
8588 Desig.AddDesignator(Designator::getArrayRange(Start.get(), in TransformDesignatedInitExpr()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp770 typedef DesignatedInitExpr::Designator Designator; in VisitDesignatedInitExpr() typedef
780 SmallVector<Designator, 4> Designators; in VisitDesignatedInitExpr()
789 Designators.push_back(Designator(Field->getIdentifier(), DotLoc, 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()
/external/v8/src/
Dobjects-printer.cc270 os << "fixed " << Traits::Designator(); in FixedTypedArrayPrint()
Dobjects.h4534 static const char* Designator() { return #type " array"; } \