eduucaldas created this revision. eduucaldas added a reviewer: gribozavr2. Herald added a project: clang. Herald added a subscriber: cfe-commits. eduucaldas requested review of this revision.
Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D87598 Files: clang/lib/Tooling/Syntax/Tree.cpp Index: clang/lib/Tooling/Syntax/Tree.cpp =================================================================== --- clang/lib/Tooling/Syntax/Tree.cpp +++ 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() "
Index: clang/lib/Tooling/Syntax/Tree.cpp =================================================================== --- clang/lib/Tooling/Syntax/Tree.cpp +++ 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() "
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits