"Use more ArrayRefs"

Change-Id: Ied0ab11dd9366b3f499100b2627f4919cca52c9c
This commit is contained in:
Stephan Bergmann
2016-06-24 16:46:55 +02:00
parent 2ff98b560c
commit f8a18a464e
6 changed files with 20 additions and 6 deletions

View File

@@ -79,7 +79,7 @@ std::string niceName(const CXXMethodDecl* functionDecl)
+ "::" + functionDecl->getNameAsString()
+ "(";
bool bFirst = true;
for (const ParmVarDecl *pParmVarDecl : functionDecl->params()) {
for (const ParmVarDecl *pParmVarDecl : compat::parameters(*functionDecl)) {
if (bFirst)
bFirst = false;
else