Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DStmtVisitor.h82 } else if (PTR(UnaryOperator) UnOp = dyn_cast<UnaryOperator>(S)) { in Visit()
83 switch (UnOp->getOpcode()) { in Visit()
DRecursiveASTVisitor.h540 } else if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(S)) {
541 switch (UnOp->getOpcode()) {
/external/clang/lib/AST/
DExpr.cpp2582 if (const UnaryOperator* UnOp = dyn_cast<UnaryOperator>(E)) { in isImplicitCXXThis() local
2583 if (UnOp->getOpcode() == UO_Extension) { in isImplicitCXXThis()
2584 E = UnOp->getSubExpr(); in isImplicitCXXThis()
3322 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(E)) in getSourceBitField() local
3323 if (UnOp->isPrefix() && UnOp->isIncrementDecrementOp()) in getSourceBitField()
3324 return UnOp->getSubExpr()->getSourceBitField(); in getSourceBitField()
/external/clang/lib/Sema/
DSemaTemplate.cpp4487 while (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { in CheckTemplateArgumentAddressOfObjectOrFunction() local
4488 UnaryOperatorKind UnOpKind = UnOp->getOpcode(); in CheckTemplateArgumentAddressOfObjectOrFunction()
4492 Arg = UnOp->getSubExpr()->IgnoreParenCasts(); in CheckTemplateArgumentAddressOfObjectOrFunction()
4495 FirstOpLoc = UnOp->getOperatorLoc(); in CheckTemplateArgumentAddressOfObjectOrFunction()
4551 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { in CheckTemplateArgumentAddressOfObjectOrFunction() local
4552 if (UnOp->getOpcode() == UO_AddrOf) { in CheckTemplateArgumentAddressOfObjectOrFunction()
4553 Arg = UnOp->getSubExpr(); in CheckTemplateArgumentAddressOfObjectOrFunction()
4555 AddrOpLoc = UnOp->getOperatorLoc(); in CheckTemplateArgumentAddressOfObjectOrFunction()
4831 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { in CheckTemplateArgumentPointerToMember() local
4832 if (UnOp->getOpcode() == UO_AddrOf) { in CheckTemplateArgumentPointerToMember()
[all …]
DSemaOverload.cpp12995 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(E)) { in FixOverloadedFunctionReference() local
12996 assert(UnOp->getOpcode() == UO_AddrOf && in FixOverloadedFunctionReference()
13006 Expr *SubExpr = FixOverloadedFunctionReference(UnOp->getSubExpr(), in FixOverloadedFunctionReference()
13008 if (SubExpr == UnOp->getSubExpr()) in FixOverloadedFunctionReference()
13009 return UnOp; in FixOverloadedFunctionReference()
13025 (void)isCompleteType(UnOp->getOperatorLoc(), MemPtrType); in FixOverloadedFunctionReference()
13029 UnOp->getOperatorLoc()); in FixOverloadedFunctionReference()
13032 Expr *SubExpr = FixOverloadedFunctionReference(UnOp->getSubExpr(), in FixOverloadedFunctionReference()
13034 if (SubExpr == UnOp->getSubExpr()) in FixOverloadedFunctionReference()
13035 return UnOp; in FixOverloadedFunctionReference()
[all …]
DSemaExpr.cpp5208 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(NakedFn)) { in ActOnCallExpr() local
5209 if (UnOp->getOpcode() == UO_AddrOf) { in ActOnCallExpr()
5211 NakedFn = UnOp->getSubExpr()->IgnoreParens(); in ActOnCallExpr()