From: Arthur Cohen Date: Tue, 22 Apr 2025 20:18:01 +0000 (+0200) Subject: gccrs: ast-builder: Make location public X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=efdbea3b2bb8f4d7060c0b87a2f8500bd771fd5e;p=thirdparty%2Fgcc.git gccrs: ast-builder: Make location public gcc/rust/ChangeLog: * ast/rust-ast-builder.h: Put `loc` member in public. --- diff --git a/gcc/rust/ast/rust-ast-builder.h b/gcc/rust/ast/rust-ast-builder.h index 36c3bc0ce90..fa3c95ce4fd 100644 --- a/gcc/rust/ast/rust-ast-builder.h +++ b/gcc/rust/ast/rust-ast-builder.h @@ -331,10 +331,10 @@ public: static GenericArgs new_generic_args (GenericArgs &args); -private: /* Location of the generated AST nodes */ location_t loc; +private: /* Some constexpr helpers for some of the builders */ static constexpr std::initializer_list discriminant_value_path = {"core", "intrinsics", "discriminant_value"};