Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DStmtVisitor.h80 } else if (PTR(UnaryOperator) UnOp = dyn_cast<UnaryOperator>(S)) { in Visit()
81 switch (UnOp->getOpcode()) { in Visit()
DRecursiveASTVisitor.h478 } else if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(S)) { in Walk() local
479 switch (UnOp->getOpcode()) { in Walk()
533 } else if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(S)) { in TraverseStmt() local
534 switch (UnOp->getOpcode()) { in TraverseStmt()
/external/clang/lib/Sema/
DSemaTemplate.cpp3621 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { in CheckTemplateArgumentAddressOfObjectOrFunction() local
3622 if (UnOp->getOpcode() == UO_AddrOf) { in CheckTemplateArgumentAddressOfObjectOrFunction()
3623 Arg = UnOp->getSubExpr(); in CheckTemplateArgumentAddressOfObjectOrFunction()
3625 AddrOpLoc = UnOp->getOperatorLoc(); in CheckTemplateArgumentAddressOfObjectOrFunction()
3924 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { in CheckTemplateArgumentPointerToMember() local
3925 if (UnOp->getOpcode() == UO_AddrOf) { in CheckTemplateArgumentPointerToMember()
3926 DRE = dyn_cast<DeclRefExpr>(UnOp->getSubExpr()); in CheckTemplateArgumentPointerToMember()
DSemaOverload.cpp11090 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(E)) { in FixOverloadedFunctionReference() local
11091 assert(UnOp->getOpcode() == UO_AddrOf && in FixOverloadedFunctionReference()
11101 Expr *SubExpr = FixOverloadedFunctionReference(UnOp->getSubExpr(), in FixOverloadedFunctionReference()
11103 if (SubExpr == UnOp->getSubExpr()) in FixOverloadedFunctionReference()
11104 return UnOp; in FixOverloadedFunctionReference()
11121 UnOp->getOperatorLoc()); in FixOverloadedFunctionReference()
11124 Expr *SubExpr = FixOverloadedFunctionReference(UnOp->getSubExpr(), in FixOverloadedFunctionReference()
11126 if (SubExpr == UnOp->getSubExpr()) in FixOverloadedFunctionReference()
11127 return UnOp; in FixOverloadedFunctionReference()
11132 UnOp->getOperatorLoc()); in FixOverloadedFunctionReference()
DSemaExpr.cpp3692 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(NakedFn)) in ActOnCallExpr() local
3693 if (UnOp->getOpcode() == UO_AddrOf) in ActOnCallExpr()
3694 NakedFn = UnOp->getSubExpr()->IgnoreParens(); in ActOnCallExpr()
/external/clang/lib/AST/
DExpr.cpp2297 if (const UnaryOperator* UnOp = dyn_cast<UnaryOperator>(E)) { in isImplicitCXXThis() local
2298 if (UnOp->getOpcode() == UO_Extension) { in isImplicitCXXThis()
2299 E = UnOp->getSubExpr(); in isImplicitCXXThis()