diff options
author | Philip Herron <herron.philip@googlemail.com> | 2025-05-19 17:55:53 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2025-05-26 18:09:16 +0000 |
commit | 457b3d1e29ce72bda6ac74a7c761decd657aab12 (patch) | |
tree | c8f8b1dcff02aa919c220bbe14c2a3986e227b2f /libjava/java/io/StringBufferInputStream.java | |
parent | c087dd8bb06038248917ec1968a5acfac1d1a88c (diff) | |
download | gcc-457b3d1e29ce72bda6ac74a7c761decd657aab12.zip gcc-457b3d1e29ce72bda6ac74a7c761decd657aab12.tar.gz gcc-457b3d1e29ce72bda6ac74a7c761decd657aab12.tar.bz2 |
gccrs: refactor default infer vars to be its own function
This is just a simple refactor to pull all the logic outside of the
closure which makes it more readable.
gcc/rust/ChangeLog:
* typecheck/rust-hir-type-check.h: new function
* typecheck/rust-typecheck-context.cc (TypeCheckContext::compute_inference_variables):
call the new helper
(TypeCheckContext::compute_infer_var): refactored code
Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'libjava/java/io/StringBufferInputStream.java')
0 files changed, 0 insertions, 0 deletions