summaryrefslogtreecommitdiff
path: root/tools/libclang
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
commit8a8b20efde8d449169d9c279c838ca8e5361de51 (patch)
tree8d786468890ef8ce8465bd58c884f72a657e58de /tools/libclang
parentbf4ebf6924cce0fb86a06c4c7777bcac2983bb9a (diff)
downloadclang-8a8b20efde8d449169d9c279c838ca8e5361de51.tar.gz
Rename getTypeQualifiers to getMethodQualifiers.
Use more descriptive name for the method qualifiers getter. Differential Revision: https://reviews.llvm.org/D56792 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@352349 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/libclang')
-rw-r--r--tools/libclang/CIndex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libclang/CIndex.cpp b/tools/libclang/CIndex.cpp
index efda52983e..f4782c2774 100644
--- a/tools/libclang/CIndex.cpp
+++ b/tools/libclang/CIndex.cpp
@@ -8360,7 +8360,7 @@ unsigned clang_CXXMethod_isConst(CXCursor C) {
const Decl *D = cxcursor::getCursorDecl(C);
const CXXMethodDecl *Method =
D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr;
- return (Method && Method->getTypeQualifiers().hasConst()) ? 1 : 0;
+ return (Method && Method->getMethodQualifiers().hasConst()) ? 1 : 0;
}
unsigned clang_CXXMethod_isDefaulted(CXCursor C) {