Home
last modified time | relevance | path

Searched refs:DerivedMD (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DVirtualNearMissCheck.cpp41 const CXXMethodDecl *DerivedMD) { in checkOverridingFunctionReturnType() argument
46 QualType DerivedReturnTy = DerivedMD->getType() in checkOverridingFunctionReturnType()
99 DRD->getCanonicalDecl() == DerivedMD->getParent()->getCanonicalDecl(); in checkOverridingFunctionReturnType()
132 const CXXMethodDecl *DerivedMD) { in checkParamTypes() argument
134 unsigned NumParamB = DerivedMD->getNumParams(); in checkParamTypes()
141 DerivedMD->getParamDecl(I)->getType().getCanonicalType())) in checkParamTypes()
151 const CXXMethodDecl *DerivedMD) { in checkOverrideWithoutName() argument
152 if (BaseMD->isStatic() != DerivedMD->isStatic()) in checkOverrideWithoutName()
155 if (BaseMD->getType() == DerivedMD->getType()) in checkOverrideWithoutName()
160 if (!checkOverridingFunctionReturnType(Context, BaseMD, DerivedMD)) in checkOverrideWithoutName()
[all …]
/external/clang/lib/AST/
DDeclCXX.cpp1474 static bool recursivelyOverrides(const CXXMethodDecl *DerivedMD, in recursivelyOverrides() argument
1476 for (CXXMethodDecl::method_iterator I = DerivedMD->begin_overridden_methods(), in recursivelyOverrides()
1477 E = DerivedMD->end_overridden_methods(); I != E; ++I) { in recursivelyOverrides()
DVTableBuilder.cpp272 const CXXMethodDecl *DerivedMD, in ComputeReturnAdjustmentBaseOffset() argument
275 const FunctionType *DerivedFT = DerivedMD->getType()->getAs<FunctionType>(); in ComputeReturnAdjustmentBaseOffset()
/external/llvm-project/clang/lib/AST/
DDeclCXX.cpp2095 static bool recursivelyOverrides(const CXXMethodDecl *DerivedMD, in recursivelyOverrides() argument
2097 for (const CXXMethodDecl *MD : DerivedMD->overridden_methods()) { in recursivelyOverrides()
DVTableBuilder.cpp271 const CXXMethodDecl *DerivedMD, in ComputeReturnAdjustmentBaseOffset() argument
274 const auto *DerivedFT = DerivedMD->getType()->castAs<FunctionType>(); in ComputeReturnAdjustmentBaseOffset()