/external/llvm-project/clang/include/clang/Tooling/Refactoring/ |
D | RecursiveSymbolVisitor.h | 74 const OffsetOfNode &Component = S->getComponent(I); in VisitOffsetOfExpr() 75 if (Component.getKind() == OffsetOfNode::Field) { in VisitOffsetOfExpr()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 1770 class OffsetOfNode { 1804 OffsetOfNode(SourceLocation LBracketLoc, unsigned Index, in OffsetOfNode() function 1809 OffsetOfNode(SourceLocation DotLoc, FieldDecl *Field, SourceLocation NameLoc) in OffsetOfNode() function 1811 Data(reinterpret_cast<uintptr_t>(Field) | OffsetOfNode::Field) {} in OffsetOfNode() 1814 OffsetOfNode(SourceLocation DotLoc, IdentifierInfo *Name, in OffsetOfNode() function 1820 explicit OffsetOfNode(const CXXBaseSpecifier *Base) in OffsetOfNode() function 1821 : Range(), Data(reinterpret_cast<uintptr_t>(Base) | OffsetOfNode::Base) {} in OffsetOfNode() 1876 private llvm::TrailingObjects<OffsetOfExpr, OffsetOfNode, Expr *> { 1885 size_t numTrailingObjects(OverloadToken<OffsetOfNode>) const { in numTrailingObjects() argument 1891 ArrayRef<OffsetOfNode> comps, ArrayRef<Expr*> exprs, [all …]
|
/external/llvm-project/clang/lib/Index/ |
D | IndexBody.cpp | 451 const OffsetOfNode &Component = S->getComponent(I); in VisitOffsetOfExpr() 452 if (Component.getKind() == OffsetOfNode::Field) in VisitOffsetOfExpr()
|
/external/clang/lib/AST/ |
D | StmtProfile.cpp | 794 const OffsetOfNode &ON = S->getComponent(i); in VisitOffsetOfExpr() 797 case OffsetOfNode::Array: in VisitOffsetOfExpr() 801 case OffsetOfNode::Field: in VisitOffsetOfExpr() 805 case OffsetOfNode::Identifier: in VisitOffsetOfExpr() 809 case OffsetOfNode::Base: in VisitOffsetOfExpr()
|
D | Expr.cpp | 1313 ArrayRef<OffsetOfNode> comps, in Create() 1317 totalSizeToAlloc<OffsetOfNode, Expr *>(comps.size(), exprs.size())); in Create() 1326 C.Allocate(totalSizeToAlloc<OffsetOfNode, Expr *>(numComps, numExprs)); in CreateEmpty() 1332 ArrayRef<OffsetOfNode> comps, ArrayRef<Expr*> exprs, in OffsetOfExpr() 1356 IdentifierInfo *OffsetOfNode::getFieldName() const { in getFieldName()
|
D | StmtPrinter.cpp | 1428 OffsetOfNode ON = Node->getComponent(i); in VisitOffsetOfExpr() 1429 if (ON.getKind() == OffsetOfNode::Array) { in VisitOffsetOfExpr() 1439 if (ON.getKind() == OffsetOfNode::Base) in VisitOffsetOfExpr()
|
D | ExprConstant.cpp | 7916 OffsetOfNode ON = OOE->getComponent(i); in VisitOffsetOfExpr() 7918 case OffsetOfNode::Array: { in VisitOffsetOfExpr() 7932 case OffsetOfNode::Field: { in VisitOffsetOfExpr() 7947 case OffsetOfNode::Identifier: in VisitOffsetOfExpr() 7950 case OffsetOfNode::Base: { in VisitOffsetOfExpr()
|
/external/llvm-project/clang/include/clang/AST/ |
D | Expr.h | 2270 class OffsetOfNode { 2304 OffsetOfNode(SourceLocation LBracketLoc, unsigned Index, in OffsetOfNode() function 2309 OffsetOfNode(SourceLocation DotLoc, FieldDecl *Field, SourceLocation NameLoc) in OffsetOfNode() function 2311 Data(reinterpret_cast<uintptr_t>(Field) | OffsetOfNode::Field) {} in OffsetOfNode() 2314 OffsetOfNode(SourceLocation DotLoc, IdentifierInfo *Name, in OffsetOfNode() function 2320 explicit OffsetOfNode(const CXXBaseSpecifier *Base) in OffsetOfNode() function 2321 : Range(), Data(reinterpret_cast<uintptr_t>(Base) | OffsetOfNode::Base) {} in OffsetOfNode() 2376 private llvm::TrailingObjects<OffsetOfExpr, OffsetOfNode, Expr *> { 2385 size_t numTrailingObjects(OverloadToken<OffsetOfNode>) const { in numTrailingObjects() argument 2391 ArrayRef<OffsetOfNode> comps, ArrayRef<Expr*> exprs, [all …]
|
/external/llvm-project/clang/lib/AST/ |
D | StmtProfile.cpp | 1189 const OffsetOfNode &ON = S->getComponent(i); in VisitOffsetOfExpr() 1192 case OffsetOfNode::Array: in VisitOffsetOfExpr() 1196 case OffsetOfNode::Field: in VisitOffsetOfExpr() 1200 case OffsetOfNode::Identifier: in VisitOffsetOfExpr() 1204 case OffsetOfNode::Base: in VisitOffsetOfExpr()
|
D | StmtPrinter.cpp | 1260 OffsetOfNode ON = Node->getComponent(i); in VisitOffsetOfExpr() 1261 if (ON.getKind() == OffsetOfNode::Array) { in VisitOffsetOfExpr() 1271 if (ON.getKind() == OffsetOfNode::Base) in VisitOffsetOfExpr()
|
D | Expr.cpp | 1436 ArrayRef<OffsetOfNode> comps, in Create() 1440 totalSizeToAlloc<OffsetOfNode, Expr *>(comps.size(), exprs.size())); in Create() 1449 C.Allocate(totalSizeToAlloc<OffsetOfNode, Expr *>(numComps, numExprs)); in CreateEmpty() 1455 ArrayRef<OffsetOfNode> comps, ArrayRef<Expr *> exprs, in OffsetOfExpr() 1468 IdentifierInfo *OffsetOfNode::getFieldName() const { in getFieldName()
|
D | ASTImporter.cpp | 7048 SmallVector<OffsetOfNode, 4> ToNodes; in VisitOffsetOfExpr() 7050 const OffsetOfNode &FromNode = E->getComponent(I); in VisitOffsetOfExpr() 7054 if (FromNode.getKind() != OffsetOfNode::Base) { in VisitOffsetOfExpr() 7063 case OffsetOfNode::Array: in VisitOffsetOfExpr() 7065 OffsetOfNode(ToBeginLoc, FromNode.getArrayExprIndex(), ToEndLoc)); in VisitOffsetOfExpr() 7067 case OffsetOfNode::Base: { in VisitOffsetOfExpr() 7071 ToNodes.push_back(OffsetOfNode(*ToBSOrErr)); in VisitOffsetOfExpr() 7074 case OffsetOfNode::Field: { in VisitOffsetOfExpr() 7078 ToNodes.push_back(OffsetOfNode(ToBeginLoc, *ToFieldOrErr, ToEndLoc)); in VisitOffsetOfExpr() 7081 case OffsetOfNode::Identifier: { in VisitOffsetOfExpr() [all …]
|
D | ExprConstant.cpp | 13033 OffsetOfNode ON = OOE->getComponent(i); in VisitOffsetOfExpr() 13035 case OffsetOfNode::Array: { in VisitOffsetOfExpr() 13049 case OffsetOfNode::Field: { in VisitOffsetOfExpr() 13064 case OffsetOfNode::Identifier: in VisitOffsetOfExpr() 13067 case OffsetOfNode::Base: { in VisitOffsetOfExpr()
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 565 OffsetOfNode::Kind Kind = static_cast<OffsetOfNode::Kind>(Record[Idx++]); in VisitOffsetOfExpr() 569 case OffsetOfNode::Array: in VisitOffsetOfExpr() 570 E->setComponent(I, OffsetOfNode(Start, Record[Idx++], End)); in VisitOffsetOfExpr() 573 case OffsetOfNode::Field: in VisitOffsetOfExpr() 575 I, OffsetOfNode(Start, ReadDeclAs<FieldDecl>(Record, Idx), End)); in VisitOffsetOfExpr() 578 case OffsetOfNode::Identifier: in VisitOffsetOfExpr() 581 OffsetOfNode(Start, Reader.GetIdentifierInfo(F, Record, Idx), End)); in VisitOffsetOfExpr() 584 case OffsetOfNode::Base: { in VisitOffsetOfExpr() 587 E->setComponent(I, OffsetOfNode(Base)); in VisitOffsetOfExpr()
|
D | ASTWriterStmt.cpp | 499 const OffsetOfNode &ON = E->getComponent(I); in VisitOffsetOfExpr() 504 case OffsetOfNode::Array: in VisitOffsetOfExpr() 508 case OffsetOfNode::Field: in VisitOffsetOfExpr() 512 case OffsetOfNode::Identifier: in VisitOffsetOfExpr() 516 case OffsetOfNode::Base: in VisitOffsetOfExpr()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 729 auto Kind = static_cast<OffsetOfNode::Kind>(Record.readInt()); in VisitOffsetOfExpr() 733 case OffsetOfNode::Array: in VisitOffsetOfExpr() 734 E->setComponent(I, OffsetOfNode(Start, Record.readInt(), End)); in VisitOffsetOfExpr() 737 case OffsetOfNode::Field: in VisitOffsetOfExpr() 739 I, OffsetOfNode(Start, readDeclAs<FieldDecl>(), End)); in VisitOffsetOfExpr() 742 case OffsetOfNode::Identifier: in VisitOffsetOfExpr() 745 OffsetOfNode(Start, Record.readIdentifier(), End)); in VisitOffsetOfExpr() 748 case OffsetOfNode::Base: { in VisitOffsetOfExpr() 751 E->setComponent(I, OffsetOfNode(Base)); in VisitOffsetOfExpr()
|
D | ASTWriterStmt.cpp | 743 const OffsetOfNode &ON = E->getComponent(I); in VisitOffsetOfExpr() 748 case OffsetOfNode::Array: in VisitOffsetOfExpr() 752 case OffsetOfNode::Field: in VisitOffsetOfExpr() 756 case OffsetOfNode::Identifier: in VisitOffsetOfExpr() 760 case OffsetOfNode::Base: in VisitOffsetOfExpr()
|
/external/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 1914 OffsetOfNode ON = E->getComponent(i); in VisitOffsetOfExpr() 1917 case OffsetOfNode::Array: { in VisitOffsetOfExpr() 1937 case OffsetOfNode::Field: { in VisitOffsetOfExpr() 1963 case OffsetOfNode::Identifier: in VisitOffsetOfExpr() 1966 case OffsetOfNode::Base: { in VisitOffsetOfExpr()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 2740 OffsetOfNode ON = E->getComponent(i); in VisitOffsetOfExpr() 2743 case OffsetOfNode::Array: { in VisitOffsetOfExpr() 2763 case OffsetOfNode::Field: { in VisitOffsetOfExpr() 2789 case OffsetOfNode::Identifier: in VisitOffsetOfExpr() 2792 case OffsetOfNode::Base: { in VisitOffsetOfExpr()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 2501 const OffsetOfNode &Node = E->getComponent(I-1); in VisitOffsetOfExpr() 2503 case OffsetOfNode::Array: in VisitOffsetOfExpr() 2506 case OffsetOfNode::Field: in VisitOffsetOfExpr() 2509 case OffsetOfNode::Identifier: in VisitOffsetOfExpr() 2510 case OffsetOfNode::Base: in VisitOffsetOfExpr()
|
/external/llvm-project/clang/tools/libclang/ |
D | CIndex.cpp | 2755 const OffsetOfNode &Node = E->getComponent(I - 1); in VisitOffsetOfExpr() 2757 case OffsetOfNode::Array: in VisitOffsetOfExpr() 2760 case OffsetOfNode::Field: in VisitOffsetOfExpr() 2763 case OffsetOfNode::Identifier: in VisitOffsetOfExpr() 2764 case OffsetOfNode::Base: in VisitOffsetOfExpr()
|
/external/clang/lib/Sema/ |
D | TreeTransform.h | 8373 const OffsetOfNode &ON = E->getComponent(I); in TransformOffsetOfExpr() 8379 case OffsetOfNode::Array: { in TransformOffsetOfExpr() 8391 case OffsetOfNode::Field: in TransformOffsetOfExpr() 8392 case OffsetOfNode::Identifier: in TransformOffsetOfExpr() 8400 case OffsetOfNode::Base: in TransformOffsetOfExpr()
|
D | SemaExpr.cpp | 11730 SmallVector<OffsetOfNode, 4> Comps; in BuildBuiltinOffsetOf() 11758 Comps.push_back(OffsetOfNode(OC.LocStart, Exprs.size(), OC.LocEnd)); in BuildBuiltinOffsetOf() 11767 Comps.push_back(OffsetOfNode(OC.LocStart, OC.U.IdentInfo, OC.LocEnd)); in BuildBuiltinOffsetOf() 11850 Comps.push_back(OffsetOfNode(B.Base)); in BuildBuiltinOffsetOf() 11856 Comps.push_back(OffsetOfNode(OC.LocStart, in BuildBuiltinOffsetOf() 11860 Comps.push_back(OffsetOfNode(OC.LocStart, MemberDecl, OC.LocEnd)); in BuildBuiltinOffsetOf()
|
/external/llvm-project/clang/lib/Sema/ |
D | TreeTransform.h | 10151 const OffsetOfNode &ON = E->getComponent(I); in TransformOffsetOfExpr() 10157 case OffsetOfNode::Array: { in TransformOffsetOfExpr() 10169 case OffsetOfNode::Field: in TransformOffsetOfExpr() 10170 case OffsetOfNode::Identifier: in TransformOffsetOfExpr() 10178 case OffsetOfNode::Base: in TransformOffsetOfExpr()
|
D | SemaExpr.cpp | 14957 SmallVector<OffsetOfNode, 4> Comps; in BuildBuiltinOffsetOf() 14985 Comps.push_back(OffsetOfNode(OC.LocStart, Exprs.size(), OC.LocEnd)); in BuildBuiltinOffsetOf() 14994 Comps.push_back(OffsetOfNode(OC.LocStart, OC.U.IdentInfo, OC.LocEnd)); in BuildBuiltinOffsetOf() 15077 Comps.push_back(OffsetOfNode(B.Base)); in BuildBuiltinOffsetOf() 15083 Comps.push_back(OffsetOfNode(OC.LocStart, in BuildBuiltinOffsetOf() 15087 Comps.push_back(OffsetOfNode(OC.LocStart, MemberDecl, OC.LocEnd)); in BuildBuiltinOffsetOf()
|