aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/DeclSpec.cpp
diff options
context:
space:
mode:
authorCorentin Jabot <corentinjabot@gmail.com>2022-09-12 17:32:47 +0200
committerCorentin Jabot <corentinjabot@gmail.com>2022-09-12 19:14:06 +0200
commit7eead180b92dcff7eaf9d71df14e33936ec4dbe5 (patch)
tree05f614489cd34b52da3dcebfaeb9aa5e40441efb /clang/lib/Sema/DeclSpec.cpp
parent2675c41671315da867c56276160e70905c59d11f (diff)
downloadllvm-7eead180b92dcff7eaf9d71df14e33936ec4dbe5.zip
llvm-7eead180b92dcff7eaf9d71df14e33936ec4dbe5.tar.gz
llvm-7eead180b92dcff7eaf9d71df14e33936ec4dbe5.tar.bz2
[Clang] NFC: Make UnqualifiedId::Kind private for consistency.
Differential Revision: https://reviews.llvm.org/D133703
Diffstat (limited to 'clang/lib/Sema/DeclSpec.cpp')
-rw-r--r--clang/lib/Sema/DeclSpec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/DeclSpec.cpp b/clang/lib/Sema/DeclSpec.cpp
index 6875d3d..0c4b79d 100644
--- a/clang/lib/Sema/DeclSpec.cpp
+++ b/clang/lib/Sema/DeclSpec.cpp
@@ -413,7 +413,7 @@ bool Declarator::isDeclarationOfFunction() const {
bool Declarator::isStaticMember() {
assert(getContext() == DeclaratorContext::Member);
return getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static ||
- (getName().Kind == UnqualifiedIdKind::IK_OperatorFunctionId &&
+ (getName().getKind() == UnqualifiedIdKind::IK_OperatorFunctionId &&
CXXMethodDecl::isStaticOverloadedOperator(
getName().OperatorFunctionId.Operator));
}