diff options
author | SimplyTheOther <simplytheother@gmail.com> | 2020-11-14 21:26:11 +0800 |
---|---|---|
committer | SimplyTheOther <simplytheother@gmail.com> | 2020-12-08 21:10:29 +0800 |
commit | 25de39b1f0e307b0ff6de485d9ac5648e9295f3d (patch) | |
tree | 0d04c7e5319acad5f6b8abc773c0edd12006de28 /gcc/rust/analysis/rust-scan.cc | |
parent | f5ae2781823b3a2bcded1ac3446de83cc52403a9 (diff) | |
download | gcc-25de39b1f0e307b0ff6de485d9ac5648e9295f3d.zip gcc-25de39b1f0e307b0ff6de485d9ac5648e9295f3d.tar.gz gcc-25de39b1f0e307b0ff6de485d9ac5648e9295f3d.tar.bz2 |
Added more expr stripping
Diffstat (limited to 'gcc/rust/analysis/rust-scan.cc')
-rw-r--r-- | gcc/rust/analysis/rust-scan.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/analysis/rust-scan.cc b/gcc/rust/analysis/rust-scan.cc index 402ac32..31c89e4 100644 --- a/gcc/rust/analysis/rust-scan.cc +++ b/gcc/rust/analysis/rust-scan.cc @@ -353,7 +353,7 @@ TopLevelScan::visit (AST::UseDeclaration &use_decl) void TopLevelScan::visit (AST::Function &function) { - functions[function.function_name] = &function; + functions[function.get_function_name ()] = &function; } void |