HomeSort by: relevance | last modified time | path
    Searched refs:MethodDecl (Results 1 - 18 of 18) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/examples/CallSuperAttribute/
CallSuperAttrInfo.cpp 80 bool VisitCXXMethodDecl(CXXMethodDecl *MethodDecl) {
81 if (MethodDecl->isThisDeclarationADefinition() && MethodDecl->hasBody()) {
84 for (const auto *Overridden : MethodDecl->overridden_methods()) {
90 // Now find if the superclass method is called in `MethodDecl`.
92 Visitor.TraverseDecl(MethodDecl);
96 Diags.Report(MethodDecl->getLocation(), WarningSuperNotCalled)
97 << LeftOverriddens << MethodDecl;
129 const CXXMethodDecl *MethodDecl) {
130 if (MethodDecl->hasAttr<FinalAttr>())
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
USRFindingAction.cpp 71 if (const auto *MethodDecl = dyn_cast<CXXMethodDecl>(FoundDecl)) {
72 addUSRsOfOverridenFunctions(MethodDecl);
77 addUSRsOfInstantiatedMethods(MethodDecl);
107 bool VisitCXXMethodDecl(const CXXMethodDecl *MethodDecl) {
108 if (MethodDecl->isVirtual())
109 OverriddenMethods.push_back(MethodDecl);
110 if (MethodDecl->getInstantiatedFromMemberFunction())
111 InstantiatedMethods.push_back(MethodDecl);
181 void addUSRsOfOverridenFunctions(const CXXMethodDecl *MethodDecl) {
182 USRSet.insert(getUSRForDecl(MethodDecl));
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
MoveChecker.cpp 445 const auto MethodDecl = dyn_cast_or_null<CXXMethodDecl>(AFC->getDecl());
446 if (!MethodDecl)
452 const auto *ConstructorDecl = dyn_cast<CXXConstructorDecl>(MethodDecl);
456 if (!ConstructorDecl && !MethodDecl->isMoveAssignmentOperator())
482 const CXXRecordDecl *RD = MethodDecl->getParent();
631 const auto MethodDecl = dyn_cast_or_null<CXXMethodDecl>(IC->getDecl());
632 if (!MethodDecl)
639 if (isStateResetMethod(MethodDecl)) {
645 if (isMoveSafeMethod(MethodDecl))
649 const CXXRecordDecl *RD = MethodDecl->getParent()
    [all...]
SmartPtrModeling.cpp 89 const auto *MethodDecl = dyn_cast_or_null<CXXMethodDecl>(Call.getDecl());
90 if (!MethodDecl || !MethodDecl->getParent())
93 const auto *RecordDecl = MethodDecl->getParent();
141 const auto *MethodDecl = dyn_cast_or_null<CXXMethodDecl>(Call.getDecl());
142 if (!MethodDecl || !MethodDecl->getParent())
145 const auto *RecordDecl = MethodDecl->getParent();
  /src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
ObjCMT.cpp 72 const ObjCMethodDecl *MethodDecl, bool ResultAnnotated);
82 const ObjCMethodDecl *MethodDecl);
1571 const ObjCMethodDecl *MethodDecl,
1585 ObjCMethodFamily OMF = MethodDecl->getMethodFamily();
1603 commit.insertBefore(MethodDecl->getEndLoc(), AnnotationString);
1608 for (ObjCMethodDecl::param_const_iterator pi = MethodDecl->param_begin(),
1609 pe = MethodDecl->param_end(); pi != pe; ++pi, ++i) {
1625 const ObjCMethodDecl *MethodDecl) {
1626 if (MethodDecl->hasBody() || MethodDecl->isImplicit()
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaDeclObjC.cpp 2320 ObjCMethodDecl *MethodDecl,
2325 objcModifiersConflict(MethodDecl->getObjCDeclQualifier(),
2334 S.Diag(MethodDecl->getLocation(), diag::note_previous_declaration)
2335 << MethodDecl->getReturnTypeSourceRange();
2343 MethodDecl->getReturnType(),
2348 *MethodDecl->getReturnType()->getNullability(S.Context);
2357 ((MethodDecl->getObjCDeclQualifier() & Decl::OBJC_TQ_CSNullability)
2359 S.Diag(MethodDecl->getLocation(), diag::note_previous_declaration);
2363 MethodDecl->getReturnType()))
2377 MethodDecl->getReturnType()->getAs<ObjCObjectPointerType>())
    [all...]
SemaAvailability.cpp 499 if (const auto *MethodDecl = dyn_cast<ObjCMethodDecl>(ReferringDecl)) {
500 Selector Sel = MethodDecl->getSelector();
SemaCoroutine.cpp 1538 auto *MethodDecl = MbrRef->getMethodDecl();
1539 S.Diag(MethodDecl->getLocation(), diag::note_member_declared_here)
1540 << MethodDecl;
SemaExpr.cpp 16989 } else if (CXXMethodDecl *MethodDecl = dyn_cast<CXXMethodDecl>(Func)) {
16990 if (MethodDecl->isOverloadedOperator() &&
16991 MethodDecl->getOverloadedOperator() == OO_Equal) {
16992 MethodDecl = cast<CXXMethodDecl>(MethodDecl->getFirstDecl());
16993 if (MethodDecl->isDefaulted() && !MethodDecl->isDeleted()) {
16994 if (MethodDecl->isCopyAssignmentOperator())
16995 DefineImplicitCopyAssignment(Loc, MethodDecl);
16996 else if (MethodDecl->isMoveAssignmentOperator()
    [all...]
SemaDeclAttr.cpp 153 if (const auto *MethodDecl = dyn_cast<CXXMethodDecl>(D))
154 return MethodDecl->isInstance();
SemaDeclCXX.cpp 15505 if (CXXMethodDecl *MethodDecl = dyn_cast<CXXMethodDecl>(FnDecl)) {
15506 if (MethodDecl->isStatic())
  /src/external/apache2/llvm/dist/clang/lib/AST/
DeclObjC.cpp 695 ObjCMethodDecl *MethodDecl = nullptr;
702 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance)))
703 return MethodDecl;
707 if ((MethodDecl = Cat->getMethod(Sel, isInstance)))
708 if (C != Cat || !MethodDecl->isImplicit())
709 return MethodDecl;
713 if ((MethodDecl = I->lookupMethod(Sel, isInstance)))
714 return MethodDecl;
723 if ((MethodDecl = Protocol->lookupMethod(Sel, isInstance)))
724 if (C != Cat || !MethodDecl->isImplicit()
    [all...]
ASTContext.cpp 11301 ASTContext::ObjCMethodsAreEqual(const ObjCMethodDecl *MethodDecl,
11304 if (MethodDecl->hasAttr<UnavailableAttr>()
11305 || MethodDecl->hasAttr<DeprecatedAttr>())
11307 if (MethodDecl->getObjCDeclQualifier() !=
11310 if (!hasSameType(MethodDecl->getReturnType(), MethodImpl->getReturnType()))
11313 if (MethodDecl->param_size() != MethodImpl->param_size())
11317 IF = MethodDecl->param_begin(), EM = MethodImpl->param_end(),
11318 EF = MethodDecl->param_end();
11328 return (MethodDecl->isVariadic() == MethodImpl->isVariadic());
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
Initialization.h 187 ObjCMethodDecl *MethodDecl;
354 Result.MethodDecl = MD;
448 ObjCMethodDecl *getMethodDecl() const { return MethodDecl; }
Sema.h 4320 ObjCMethodDecl *MethodDecl,
4330 ObjCMethodDecl *MethodDecl,
5963 CXXMethodDecl *MethodDecl);
5976 CXXMethodDecl *MethodDecl);
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
ItaniumCXXABI.cpp 1945 auto *MethodDecl = cast<CXXMethodDecl>(GD.getDecl());
1947 This, Ty->getPointerTo()->getPointerTo(), MethodDecl->getParent());
1951 if (CGF.ShouldEmitVTableTypeCheckedLoad(MethodDecl->getParent())) {
1953 MethodDecl->getParent(), VTable,
1956 CGF.EmitTypeMetadataCodeForVCall(MethodDecl->getParent(), VTable, Loc);
MicrosoftCXXABI.cpp 1925 auto *MethodDecl = cast<CXXMethodDecl>(GD.getDecl());
1927 MethodDecl->getParent());
1936 ML.VBase ? ML.VBase : MethodDecl->getParent()),
1945 if (CGF.ShouldEmitVTableTypeCheckedLoad(MethodDecl->getParent())) {
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
ASTContext.h 2454 bool ObjCMethodsAreEqual(const ObjCMethodDecl *MethodDecl,

Completed in 193 milliseconds