summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/MicrosoftMangle.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-10-17 18:00:12 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-10-17 18:00:12 +0000
commit952a9b1743f5c4dc4c91024e577657ddff0245e7 (patch)
tree47012371b8665f616cce720fc93c423fe50b0dcf /clang/lib/AST/MicrosoftMangle.cpp
parent0e478f5aa366b75febcd179dcd127a562a8a4725 (diff)
downloadbcm5719-llvm-952a9b1743f5c4dc4c91024e577657ddff0245e7.tar.gz
bcm5719-llvm-952a9b1743f5c4dc4c91024e577657ddff0245e7.zip
Rename TemplateArgument::getTypeForDecl to getParamTypeForDecl for clarity
Code review feedback from Richard Smith on r219900. llvm-svn: 220060
Diffstat (limited to 'clang/lib/AST/MicrosoftMangle.cpp')
-rw-r--r--clang/lib/AST/MicrosoftMangle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/MicrosoftMangle.cpp b/clang/lib/AST/MicrosoftMangle.cpp
index 54ac2b6352a..59cf4d091bf 100644
--- a/clang/lib/AST/MicrosoftMangle.cpp
+++ b/clang/lib/AST/MicrosoftMangle.cpp
@@ -1139,7 +1139,7 @@ void MicrosoftCXXNameMangler::mangleTemplateArg(const TemplateDecl *TD,
else
mangle(FD, "$1?");
} else {
- mangle(ND, TA.getTypeForDecl()->isReferenceType() ? "$E?" : "$1?");
+ mangle(ND, TA.getParamTypeForDecl()->isReferenceType() ? "$E?" : "$1?");
}
break;
}
OpenPOWER on IntegriCloud