HomeSort by: relevance | last modified time | path
    Searched defs:MethodDecl (Results 1 - 8 of 8) 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/StaticAnalyzer/Checkers/
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();
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...]
  /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...]
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
Initialization.h 187 ObjCMethodDecl *MethodDecl;
354 Result.MethodDecl = MD;
448 ObjCMethodDecl *getMethodDecl() const { return MethodDecl; }
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaCoroutine.cpp 1538 auto *MethodDecl = MbrRef->getMethodDecl();
1539 S.Diag(MethodDecl->getLocation(), diag::note_member_declared_here)
1540 << 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())) {

Completed in 79 milliseconds