clang3.9 compatibility
Change-Id: Idbba88f1a890c068c9813aff2287f0983d1b8742
This commit is contained in:
parent
583e41b9c8
commit
e5d24f50b7
@ -74,7 +74,7 @@ std::string niceName(const CXXMethodDecl* functionDecl)
|
||||
functionDecl->getParent()->getQualifiedNameAsString() + "::"
|
||||
+ compat::getReturnType(*functionDecl).getAsString() + "-"
|
||||
+ functionDecl->getNameAsString() + "(";
|
||||
for (const ParmVarDecl *pParmVarDecl : functionDecl->params()) {
|
||||
for (const ParmVarDecl *pParmVarDecl : compat::parameters(*functionDecl)) {
|
||||
s += pParmVarDecl->getType().getAsString();
|
||||
s += ",";
|
||||
}
|
||||
@ -96,7 +96,7 @@ std::string UnnecessaryVirtual::fullyQualifiedName(const FunctionDecl* functionD
|
||||
}
|
||||
ret += functionDecl->getNameAsString() + "(";
|
||||
bool bFirst = true;
|
||||
for (const ParmVarDecl *pParmVarDecl : functionDecl->params()) {
|
||||
for (const ParmVarDecl *pParmVarDecl : compat::parameters(*functionDecl)) {
|
||||
if (bFirst)
|
||||
bFirst = false;
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user