Home
last modified time | relevance | path

Searched refs:isCopyAssignmentOperator (Results 1 – 25 of 37) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseEqualsDefaultCheck.cpp166 callee(cxxMethodDecl(isCopyAssignmentOperator())), in isCopyAssignmentAndCanBeDefaulted()
238 cxxMethodDecl(isDefinition(), isCopyAssignmentOperator(), in registerMatchers()
269 if (!SpecialFunctionDecl->isCopyAssignmentOperator() && !Body->body_empty()) in check()
273 bool ApplyFix = SpecialFunctionDecl->isCopyAssignmentOperator() || in check()
H A DUseEqualsDeleteCheck.cpp33 anyOf(isCopyAssignmentOperator(), isMoveAssignmentOperator())), in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/fuchsia/
H A DOverloadedOperatorCheck.cpp20 if (CXXMethodNode->isCopyAssignmentOperator() || in AST_MATCHER()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/
H A DMutatingCopyCheck.cpp61 Finder->addMatcher(cxxMethodDecl(isCopyAssignmentOperator(), MutatesSource), in registerMatchers()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DCXXSelfAssignmentChecker.cpp45 if (!MD->isCopyAssignmentOperator() && !MD->isMoveAssignmentOperator()) in checkBeginFunction()
H A DIterator.cpp49 if (Method->isCopyAssignmentOperator()) { in isIterator()
H A DMoveChecker.cpp658 if (MethodDecl->isCopyAssignmentOperator() || in checkPreCall()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DSlicingCheck.cpp50 callExpr(callee(cxxMethodDecl(anyOf(isCopyAssignmentOperator(), in registerMatchers()
H A DSpecialMemberFunctionsCheck.cpp45 has(cxxMethodDecl(isCopyAssignmentOperator()) in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DUnhandledSelfAssignmentCheck.cpp93 isCopyAssignmentOperator(), IsUserDefined, in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DSpecialMembers.cpp34 if (M->isCopyAssignmentOperator()) in buildSpecialMemberDeclarations()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DDeclRefExprUtils.cpp143 callee(cxxMethodDecl(isCopyAssignmentOperator()))) in isCopyAssignmentArgument()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp416 if (MD->isCopyAssignmentOperator() || MD->isMoveAssignmentOperator()) in shouldSkipFunction()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp124 hasMethod(cxxMethodDecl(isCopyAssignmentOperator(), in __anondd380f730602()
H A DPathDiagnostic.cpp972 } else if (MD->isCopyAssignmentOperator()) { in describeCodeDecl()
/llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp115 anyOf(isCopyAssignmentOperator(), isMoveAssignmentOperator())))), in isOptionalValueOrConversionAssignment()
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp411 REGISTER_MATCHER(isCopyAssignmentOperator); in RegistryMaps()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclCXX.cpp833 if (Method->isCopyAssignmentOperator()) { in addedMember()
1433 } else if (D->isCopyAssignmentOperator()) in finishedDefaultedOrDeletedMember()
2381 bool CXXMethodDecl::isCopyAssignmentOperator() const { in isCopyAssignmentOperator() function in CXXMethodDecl
H A DVTableBuilder.cpp1562 if (A->isCopyAssignmentOperator() != B->isCopyAssignmentOperator()) in AddMethods()
1563 return A->isCopyAssignmentOperator(); in AddMethods()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCallAndReturn.cpp1139 if (!(MD->isCopyAssignmentOperator() || MD->isMoveAssignmentOperator())) in isTrivialObjectAssignment()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersTraversalTest.cpp2979 has(cxxMethodDecl(isCopyAssignmentOperator()))); in TEST()
2998 hasMethod(cxxMethodDecl(isCopyAssignmentOperator()))); in TEST()
3017 callee(cxxMethodDecl(isCopyAssignmentOperator()))); in TEST()
3031 isCopyAssignmentOperator(), isDefaulted()); in TEST()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6138 AST_MATCHER(CXXMethodDecl, isCopyAssignmentOperator) { in AST_MATCHER() argument
6139 return Node.isCopyAssignmentOperator(); in AST_MATCHER()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSema.cpp1901 if ((MD->isCopyAssignmentOperator() || MD->isMoveAssignmentOperator()) && in checkTypeSupport()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprCXX.cpp250 (MD->isCopyAssignmentOperator() || MD->isMoveAssignmentOperator()) && in EmitCXXMemberOrOperatorMemberCallExpr()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclCXX.h2061 bool isCopyAssignmentOperator() const;

12