Searched refs:OpCall (Results 1 – 8 of 8) sorted by relevance
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/ |
D | DurationDivisionCheck.cpp | 39 const auto *OpCall = result.Nodes.getNodeAs<CXXOperatorCallExpr>("OpCall"); in check() local 40 diag(OpCall->getOperatorLoc(), in check() 43 << FixItHint::CreateInsertion(OpCall->getBeginLoc(), in check() 46 SourceRange(OpCall->getOperatorLoc(), OpCall->getOperatorLoc()), in check() 50 result.SourceManager->getSpellingLoc(OpCall->getEndLoc()), 0, in check()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | LoopConvertUtils.cpp | 223 if (const auto *OpCall = dyn_cast<CXXOperatorCallExpr>(E)) { in getDereferenceOperand() local 224 return OpCall->getOperator() == OO_Star && OpCall->getNumArgs() == 1 in getDereferenceOperand() 225 ? OpCall->getArg(0) in getDereferenceOperand() 313 static bool isDereferenceOfOpCall(const CXXOperatorCallExpr *OpCall, in isDereferenceOfOpCall() argument 315 return OpCall->getOperator() == OO_Star && OpCall->getNumArgs() == 1 && in isDereferenceOfOpCall() 316 exprReferencesVariable(IndexVar, OpCall->getArg(0)); in isDereferenceOfOpCall() 391 const auto *OpCall = cast<CXXOperatorCallExpr>(Init); in isAliasDecl() local 392 if (OpCall->getOperator() == OO_Star) in isAliasDecl() 393 return isDereferenceOfOpCall(OpCall, IndexVar); in isAliasDecl() 394 if (OpCall->getOperator() == OO_Subscript) { in isAliasDecl() [all …]
|
D | LoopConvertUtils.h | 350 bool TraverseCXXOperatorCallExpr(CXXOperatorCallExpr *OpCall);
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersNodeTest.cpp | 300 StatementMatcher OpCall = cxxOperatorCallExpr(); in TEST() local 304 "Y y; bool c = !y;", OpCall)); in TEST() 314 "void a() {Y *y = new Y; delete y;}", OpCall)); in TEST() 319 OpCall)); in TEST() 321 EXPECT_TRUE(notMatches("bool x = true, y = true; bool t = x && y;", OpCall)); in TEST() 322 EXPECT_TRUE(notMatches("int t = 5 << 2;", OpCall)); in TEST()
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersNodeTest.cpp | 447 StatementMatcher OpCall = cxxOperatorCallExpr(); in TEST_P() local 452 OpCall)); in TEST_P() 463 OpCall)); in TEST_P() 468 OpCall)); in TEST_P() 470 EXPECT_TRUE(notMatches("bool x = true, y = true; bool t = x && y;", OpCall)); in TEST_P() 471 EXPECT_TRUE(notMatches("int t = 5 << 2;", OpCall)); in TEST_P()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | SimplifyBooleanExprCheck.cpp | 131 StringRef negatedOperator(const CXXOperatorCallExpr *OpCall) { in negatedOperator() argument 132 const OverloadedOperatorKind Opcode = OpCall->getOperator(); in negatedOperator()
|
/external/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 5994 if (CXXOperatorCallExpr *OpCall = dyn_cast<CXXOperatorCallExpr>(Base)) in ActOnStartCXXMemberReference() local 5995 OperatorArrows.push_back(OpCall->getDirectCallee()); in ActOnStartCXXMemberReference()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 7201 if (CXXOperatorCallExpr *OpCall = dyn_cast<CXXOperatorCallExpr>(Base)) in ActOnStartCXXMemberReference() local 7202 OperatorArrows.push_back(OpCall->getDirectCallee()); in ActOnStartCXXMemberReference()
|