aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-expr.cc
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2023-03-10 14:10:54 +0000
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:21:10 +0100
commitd3057e69654610ac258db056db6d5282ec677642 (patch)
tree5dff48646e4fa9c414306b501fe683c09bb49a6d /gcc/rust/backend/rust-compile-expr.cc
parentf0f04b256ceee2c8d7a24f0e0fcd8a0894fa48db (diff)
downloadgcc-d3057e69654610ac258db056db6d5282ec677642.zip
gcc-d3057e69654610ac258db056db6d5282ec677642.tar.gz
gcc-d3057e69654610ac258db056db6d5282ec677642.tar.bz2
gccrs: refactor is_concrete to not just virtual dispatch
Its easier to debug and maintain one base function for this than relying on virtual dispatch Signed-off-by: Philip Herron <herron.philip@googlemail.com> gcc/rust/ChangeLog: * typecheck/rust-tyty.cc (BaseType::is_concrete): new implementation (InferType::is_concrete): remove (ErrorType::is_concrete): likewise (StructFieldType::is_concrete): likewise (ADTType::is_concrete): likewise (TupleType::is_concrete): likewise (BoolType::is_concrete): likewise (IntType::is_concrete): likewise (UintType::is_concrete): likewise (FloatType::is_concrete): likewise (USizeType::is_concrete): likewise (ISizeType::is_concrete): likewise (CharType::is_concrete): likewise (ReferenceType::is_concrete): likewise (PointerType::is_concrete): likewise (ParamType::is_concrete): likewise (StrType::is_concrete): likewise (NeverType::is_concrete): likewise (PlaceholderType::is_concrete): likewise (ProjectionType::is_concrete): likewise (DynamicObjectType::is_concrete): likewise * typecheck/rust-tyty.h: update header
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.cc')
0 files changed, 0 insertions, 0 deletions