diff --git a/clang/lib/Tooling/Syntax/Tree.cpp b/clang/lib/Tooling/Syntax/Tree.cpp --- a/clang/lib/Tooling/Syntax/Tree.cpp +++ b/clang/lib/Tooling/Syntax/Tree.cpp @@ -366,7 +366,7 @@ case NodeKind::NestedNameSpecifier: return clang::tok::coloncolon; case NodeKind::CallArguments: - case NodeKind::ParametersAndQualifiers: + case NodeKind::ParameterDeclarationList: return clang::tok::comma; default: llvm_unreachable("This is not a subclass of List, thus " @@ -379,7 +379,7 @@ case NodeKind::NestedNameSpecifier: return TerminationKind::Terminated; case NodeKind::CallArguments: - case NodeKind::ParametersAndQualifiers: + case NodeKind::ParameterDeclarationList: return TerminationKind::Separated; default: llvm_unreachable("This is not a subclass of List, thus " @@ -393,7 +393,7 @@ return false; case NodeKind::CallArguments: return true; - case NodeKind::ParametersAndQualifiers: + case NodeKind::ParameterDeclarationList: return true; default: llvm_unreachable("This is not a subclass of List, thus canBeEmpty() "