summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/VTableBuilder.cpp
diff options
context:
space:
mode:
authorAnastasia Stulova <anastasia.stulova@arm.com>2019-01-28 11:37:49 +0000
committerAnastasia Stulova <anastasia.stulova@arm.com>2019-01-28 11:37:49 +0000
commitc61eaa5920161789f273256a718b9d47a97d00cd (patch)
treea6b965cfd716315ba53e2c8ffb1291ebded7fedb /clang/lib/AST/VTableBuilder.cpp
parent740974d984376c57f59842198a6e8ba68b022ee3 (diff)
downloadbcm5719-llvm-c61eaa5920161789f273256a718b9d47a97d00cd.tar.gz
bcm5719-llvm-c61eaa5920161789f273256a718b9d47a97d00cd.zip
Rename getTypeQualifiers to getMethodQualifiers.
Use more descriptive name for the method qualifiers getter. Differential Revision: https://reviews.llvm.org/D56792 llvm-svn: 352349
Diffstat (limited to 'clang/lib/AST/VTableBuilder.cpp')
-rw-r--r--clang/lib/AST/VTableBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/VTableBuilder.cpp b/clang/lib/AST/VTableBuilder.cpp
index 85c4fca378e..527ee8efc30 100644
--- a/clang/lib/AST/VTableBuilder.cpp
+++ b/clang/lib/AST/VTableBuilder.cpp
@@ -479,7 +479,7 @@ static bool HasSameVirtualSignature(const CXXMethodDecl *LHS,
// Force the signatures to match. We can't rely on the overrides
// list here because there isn't necessarily an inheritance
// relationship between the two methods.
- if (LT->getTypeQuals() != RT->getTypeQuals())
+ if (LT->getMethodQuals() != RT->getMethodQuals())
return false;
return LT->getParamTypes() == RT->getParamTypes();
}
OpenPOWER on IntegriCloud