Searched defs:UO (Results 1 - 9 of 9) sorted by relevance

/external/clang/lib/Analysis/
H A DPseudoConstantAnalysis.cpp140 const UnaryOperator *UO = cast<UnaryOperator>(Head); local
143 const Decl *D = getDecl(UO->getSubExpr()->IgnoreParenCasts());
150 switch (UO->getOpcode()) {
H A DReachableCode.cpp195 const UnaryOperator *UO = cast<UnaryOperator>(S); local
196 R1 = UO->getSubExpr()->getSourceRange();
197 return UO->getOperatorLoc();
H A DThreadSafety.cpp373 void VisitUnaryOperator(UnaryOperator *UO);
438 UnaryOperator *UO = dyn_cast<UnaryOperator>(Exp); local
439 if (!UO || UO->getOpcode() != clang::UO_Deref)
441 Exp = UO->getSubExpr()->IgnoreParenCasts();
477 void BuildLockset::VisitUnaryOperator(UnaryOperator *UO) { argument
478 switch (UO->getOpcode()) {
483 Expr *SubExp = UO->getSubExpr()->IgnoreParenCasts();
H A DLiveVariables.cpp314 void VisitUnaryOperator(UnaryOperator *UO);
486 void TransferFunctions::VisitUnaryOperator(UnaryOperator *UO) { argument
493 switch (UO->getOpcode()) {
503 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(UO->getSubExpr()->IgnoreParens()))
/external/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp540 const UnaryOperator *UO = cast<UnaryOperator>(Ex); local
541 if (UO->getOpcode() == UO_LNot) {
543 Ex = UO->getSubExpr()->IgnoreParenNoopCasts(BRC.getASTContext());
/external/clang/lib/AST/
H A DItaniumMangle.cpp2489 const UnaryOperator *UO = cast<UnaryOperator>(E); local
2490 mangleOperatorName(UnaryOperator::getOverloadedOperator(UO->getOpcode()),
2492 mangleExpression(UO->getSubExpr());
H A DExpr.cpp46 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) {
47 switch (UO->getOpcode()) {
49 return UO->getSubExpr()->isKnownToHaveBooleanValue();
734 } else if (UnaryOperator *UO = dyn_cast<UnaryOperator>(CEE)) {
735 if (UO->getOpcode() == UO_Deref)
736 CEE = UO->getSubExpr()->IgnoreParenCasts();
1481 const UnaryOperator *UO = cast<UnaryOperator>(this); local
1483 switch (UO->getOpcode()) {
1498 if (Ctx.getCanonicalType(UO->getSubExpr()->getType())
1503 return UO
[all...]
/external/clang/lib/Sema/
H A DSemaChecking.cpp3082 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) {
3083 switch (UO->getOpcode()) {
3094 return GetExprRange(C, UO->getSubExpr(), MaxWidth);
3987 const UnaryOperator *UO = cast<UnaryOperator>(expr); local
3988 expr = UO->getSubExpr();
3989 switch (UO->getOpcode()) {
H A DSemaExpr.cpp336 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E->IgnoreParenCasts()))
337 if (UO->getOpcode() == UO_Deref &&
338 UO->getSubExpr()->IgnoreParenCasts()->
340 !UO->getType().isVolatileQualified()) {
341 S.DiagRuntimeBehavior(UO->getOperatorLoc(), UO,
343 << UO->getSubExpr()->getSourceRange());
344 S.DiagRuntimeBehavior(UO->getOperatorLoc(), UO,
7158 if (UnaryOperator *UO
7430 UnaryOperator *UO = cast<UnaryOperator>(E); local
[all...]

Completed in 161 milliseconds