Home
last modified time | relevance | path

Searched refs:UnOp (Results 1 – 7 of 7) sorted by relevance

/external/clang/include/clang/AST/
DStmtVisitor.h81 } else if (PTR(UnaryOperator) UnOp = dyn_cast<UnaryOperator>(S)) { in Visit()
82 switch (UnOp->getOpcode()) { in Visit()
DRecursiveASTVisitor.h522 } else if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(S)) { in dataTraverseNode() local
523 switch (UnOp->getOpcode()) { in dataTraverseNode()
583 } else if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(S)) { in TraverseStmt() local
584 switch (UnOp->getOpcode()) { in TraverseStmt()
DDataRecursiveASTVisitor.h509 } else if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(S)) { in TraverseStmt() local
510 switch (UnOp->getOpcode()) { in TraverseStmt()
/external/clang/lib/Sema/
DSemaTemplate.cpp4350 while (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { in CheckTemplateArgumentAddressOfObjectOrFunction() local
4351 UnaryOperatorKind UnOpKind = UnOp->getOpcode(); in CheckTemplateArgumentAddressOfObjectOrFunction()
4355 Arg = UnOp->getSubExpr()->IgnoreParenCasts(); in CheckTemplateArgumentAddressOfObjectOrFunction()
4358 FirstOpLoc = UnOp->getOperatorLoc(); in CheckTemplateArgumentAddressOfObjectOrFunction()
4414 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { in CheckTemplateArgumentAddressOfObjectOrFunction() local
4415 if (UnOp->getOpcode() == UO_AddrOf) { in CheckTemplateArgumentAddressOfObjectOrFunction()
4416 Arg = UnOp->getSubExpr(); in CheckTemplateArgumentAddressOfObjectOrFunction()
4418 AddrOpLoc = UnOp->getOperatorLoc(); in CheckTemplateArgumentAddressOfObjectOrFunction()
4694 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { in CheckTemplateArgumentPointerToMember() local
4695 if (UnOp->getOpcode() == UO_AddrOf) { in CheckTemplateArgumentPointerToMember()
[all …]
DSemaOverload.cpp12136 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(E)) { in FixOverloadedFunctionReference() local
12137 assert(UnOp->getOpcode() == UO_AddrOf && in FixOverloadedFunctionReference()
12147 Expr *SubExpr = FixOverloadedFunctionReference(UnOp->getSubExpr(), in FixOverloadedFunctionReference()
12149 if (SubExpr == UnOp->getSubExpr()) in FixOverloadedFunctionReference()
12150 return UnOp; in FixOverloadedFunctionReference()
12167 UnOp->getOperatorLoc()); in FixOverloadedFunctionReference()
12170 Expr *SubExpr = FixOverloadedFunctionReference(UnOp->getSubExpr(), in FixOverloadedFunctionReference()
12172 if (SubExpr == UnOp->getSubExpr()) in FixOverloadedFunctionReference()
12173 return UnOp; in FixOverloadedFunctionReference()
12178 UnOp->getOperatorLoc()); in FixOverloadedFunctionReference()
DSemaExpr.cpp4562 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(NakedFn)) in ActOnCallExpr() local
4563 if (UnOp->getOpcode() == UO_AddrOf) in ActOnCallExpr()
4564 NakedFn = UnOp->getSubExpr()->IgnoreParens(); in ActOnCallExpr()
/external/clang/lib/AST/
DExpr.cpp2640 if (const UnaryOperator* UnOp = dyn_cast<UnaryOperator>(E)) { in isImplicitCXXThis() local
2641 if (UnOp->getOpcode() == UO_Extension) { in isImplicitCXXThis()
2642 E = UnOp->getSubExpr(); in isImplicitCXXThis()