Home | History | Annotate | Download | only in AST

Lines Matching defs:MD

106   void mangleVirtualMemPtrThunk(const CXXMethodDecl *MD,
108 void mangleThunk(const CXXMethodDecl *MD, const ThunkInfo &Thunk,
261 const CXXMethodDecl *MD);
263 const CXXMethodDecl *MD,
290 void mangleObjCMethodName(const ObjCMethodDecl *MD);
539 const CXXMethodDecl *MD) {
560 if (MD) {
562 if (MD->isVirtual()) {
566 VTContext->getMethodVFTableLocation(GlobalDecl(MD));
567 mangleVirtualMemPtrThunk(MD, ML);
575 mangleName(MD);
576 mangleFunctionEncoding(MD, /*ShouldMangle=*/true);
602 const CXXMethodDecl *MD,
610 mangleName(MD->getParent());
614 mangleCallingConvention(MD->getType()->getAs<FunctionProtoType>());
1076 void MicrosoftCXXNameMangler::mangleObjCMethodName(const ObjCMethodDecl *MD) {
1077 Context.mangleObjCMethodName(MD, Out);
1207 const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD);
1208 if (MD && MD->isInstance()) {
1209 mangleMemberFunctionPointer(MD->getParent()->getMostRecentDecl(), MD);
1751 if (const CXXMethodDecl *MD = dyn_cast_or_null<CXXMethodDecl>(D)) {
1752 if (MD->isInstance())
1754 if (isa<CXXDestructorDecl>(MD)) {
1756 } else if (isa<CXXConstructorDecl>(MD)) {
1760 getStructor(MD) == Structor;
1893 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD)) {
1894 switch (MD->getAccess()) {
1898 if (MD->isStatic())
1900 else if (MD->isVirtual())
1906 if (MD->isStatic())
1908 else if (MD->isVirtual())
1914 if (MD->isStatic())
1916 else if (MD->isVirtual())
2386 static void mangleThunkThisAdjustment(const CXXMethodDecl *MD,
2393 switch (MD->getAccess()) {
2421 switch (MD->getAccess()) {
2435 switch (MD->getAccess()) {
2451 MicrosoftMangleContextImpl::mangleVirtualMemPtrThunk(const CXXMethodDecl *MD,
2456 VTContext->getMethodVFTableLocation(GlobalDecl(MD));
2460 Mangler.mangleVirtualMemPtrThunk(MD, ML);
2463 void MicrosoftMangleContextImpl::mangleThunk(const CXXMethodDecl *MD,
2468 Mangler.mangleName(MD);
2469 mangleThunkThisAdjustment(MD, Thunk.This, Mangler, Out);
2474 const CXXMethodDecl *DeclForFPT = Thunk.Method ? Thunk.Method : MD;
2476 DeclForFPT->getType()->castAs<FunctionProtoType>(), MD);