]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Replace local keyword set with the utils
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Wed, 8 Nov 2023 09:57:48 +0000 (10:57 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 18:13:13 +0000 (19:13 +0100)
commit8f41baaa832a480338b7a4d686d4b26000164588
treec9ec9a5b033a72f424ba2b1a9276afc87b51b5be
parent0344e23236c8e28b80ce1b14a3a4394918953f2e
gccrs: Replace local keyword set with the utils

We don't require that local set anymore.

gcc/rust/ChangeLog:

* checks/errors/rust-ast-validation.cc (RS_TOKEN): Remove locale set.
(RS_TOKEN_KEYWORD): Likewise.
(ASTValidation::visit): Change keyword set call to the one from utils.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/checks/errors/rust-ast-validation.cc