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.cpp172 D.AddDesignator(Designator::getField(FieldName, SourceLocation(), NameLoc)); in ParseInitializerWithPotentialDesignator()
193 Desig.AddDesignator(Designator::getField(Tok.getIdentifierInfo(), DotLoc, in ParseInitializerWithPotentialDesignator()
335 Desig.AddDesignator(Designator::getArray(Idx.release(), StartLoc)); in ParseInitializerWithPotentialDesignator()
346 Desig.AddDesignator(Designator::getArrayRange(Idx.release(), in ParseInitializerWithPotentialDesignator()
/external/clang/lib/AST/
DExprConstant.cpp791 SubobjectDesignator Designator; member
797 SubobjectDesignator &getLValueDesignator() { return Designator; } in getLValueDesignator()
798 const SubobjectDesignator &getLValueDesignator() const { return Designator;} in getLValueDesignator()
801 if (Designator.Invalid) in moveInto()
804 V = APValue(Base, Offset, Designator.Entries, in moveInto()
805 Designator.IsOnePastTheEnd, CallIndex); in moveInto()
812 Designator = SubobjectDesignator(Ctx, V); in setFrom()
819 Designator = SubobjectDesignator(getType(B)); in set()
826 if (Designator.Invalid) in checkNullPointer()
831 Designator.setInvalid(); in checkNullPointer()
[all …]
DExpr.cpp3621 IdentifierInfo *DesignatedInitExpr::Designator::getFieldName() const { in getFieldName()
3631 const Designator *Designators, in DesignatedInitExpr()
3643 this->Designators = new (C) Designator[NumDesignators]; in DesignatedInitExpr()
3696 DesignatedInitExpr::Create(ASTContext &C, Designator *Designators, in Create()
3716 const Designator *Desigs, in setDesignators()
3718 Designators = new (C) Designator[NumDesigs]; in setDesignators()
3734 Designator &First = in getLocStart()
3751 Expr *DesignatedInitExpr::getArrayIndex(const Designator& D) const { in getArrayIndex()
3752 assert(D.Kind == Designator::ArrayDesignator && "Requires array designator"); in getArrayIndex()
3760 Expr *DesignatedInitExpr::getArrayRangeStart(const Designator &D) const { in getArrayRangeStart()
[all …]
/external/clang/include/clang/AST/
DExpr.h3861 class Designator;
3882 Designator *Designators;
3886 const Designator *Designators,
3932 class Designator {
3949 Designator() {} in Designator() function
3952 Designator(const IdentifierInfo *FieldName, SourceLocation DotLoc, in Designator() function
3961 Designator(unsigned Index, SourceLocation LBracketLoc, in Designator() function
3971 Designator(unsigned Index, SourceLocation LBracketLoc, in Designator() function
4047 static DesignatedInitExpr *Create(ASTContext &C, Designator *Designators,
4059 typedef Designator *designators_iterator;
[all …]
/external/clang/lib/Serialization/
DASTReaderStmt.cpp742 typedef DesignatedInitExpr::Designator Designator; in VisitDesignatedInitExpr() typedef
752 SmallVector<Designator, 4> Designators; in VisitDesignatedInitExpr()
761 Designators.push_back(Designator(Field->getIdentifier(), DotLoc, in VisitDesignatedInitExpr()
773 Designators.push_back(Designator(Name, DotLoc, FieldLoc)); in VisitDesignatedInitExpr()
783 Designators.push_back(Designator(Index, LBracketLoc, RBracketLoc)); in VisitDesignatedInitExpr()
795 Designators.push_back(Designator(Index, LBracketLoc, EllipsisLoc, in VisitDesignatedInitExpr()
/external/clang/lib/Sema/
DSemaInit.cpp1579 typedef DesignatedInitExpr::Designator Designator; in ExpandAnonymousFieldDesignator() typedef
1582 SmallVector<Designator, 4> Replacements; in ExpandAnonymousFieldDesignator()
1586 Replacements.push_back(Designator((IdentifierInfo *)0, in ExpandAnonymousFieldDesignator()
1590 Replacements.push_back(Designator((IdentifierInfo *)0, SourceLocation(), in ExpandAnonymousFieldDesignator()
1723 DesignatedInitExpr::Designator *D = DIE->getDesignator(DesigIdx); in CheckDesignatedInitializer()
1901 DesignatedInitExpr::Designator *NextD in CheckDesignatedInitializer()
2341 typedef DesignatedInitExpr::Designator ASTDesignator; in ActOnDesignatedInitializer()
2349 const Designator &D = Desig.getDesignator(Idx); in ActOnDesignatedInitializer()
2351 case Designator::FieldDesignator: in ActOnDesignatedInitializer()
2356 case Designator::ArrayDesignator: { in ActOnDesignatedInitializer()
[all …]
DTreeTransform.h6948 Desig.AddDesignator(Designator::getField(D->getFieldName(), in TransformDesignatedInitExpr()
6959 Desig.AddDesignator(Designator::getArray(Index.get(), in TransformDesignatedInitExpr()
6977 Desig.AddDesignator(Designator::getArrayRange(Start.get(), in TransformDesignatedInitExpr()
/external/clang/tools/libclang/
DCIndex.cpp2074 typedef DesignatedInitExpr::Designator Designator; in VisitDesignatedInitExpr() typedef
/external/chromium_org/third_party/usb_ids/
Dusb.ids16008 R 38 Designator Index
16010 R 48 Designator Minimum
16012 R 58 Designator Maximum