Tweak HhasBodyEnv C++: Prefer HHBC AST 'classish kind' type
commitf10e763d12dd84e92398bf29712b4eec9139a34e
authorShayne Fletcher <shaynefletcher@fb.com>
Thu, 5 Aug 2021 21:25:27 +0000 (5 14:25 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 5 Aug 2021 21:27:08 +0000 (5 14:27 -0700)
treee954a5d8daf95991fa950a09e9edd49180522e02
parentf36195b1f98342f25bacbb63298f0e6748cd5385
Tweak HhasBodyEnv C++: Prefer HHBC AST 'classish kind' type

Summary: Replace use of `oxidized::ast_defs::ClassishKind` in `HhasBody` with `hhbc_by_ref_hhbc_ast::ClassishKind`. This avoids the need to annotate this non HHBC AST type with `#[repr(C)]`.

Differential Revision: D30102441

fbshipit-source-id: 9bb4e3afb43af39339e09108fbf7faf966856046
hphp/hack/Cargo.lock
hphp/hack/src/hhbc/bytecode_printer/print.rs
hphp/hack/src/hhbc/bytecode_printer/special_class_resolver.rs
hphp/hack/src/hhbc/hhbc_by_ref/ast_class_expr.rs
hphp/hack/src/hhbc/hhbc_by_ref/cargo/hhbc_by_ref_hhas_body/Cargo.toml
hphp/hack/src/hhbc/hhbc_by_ref/cargo/hhbc_by_ref_hhbc_ast/Cargo.toml
hphp/hack/src/hhbc/hhbc_by_ref/emit_body.rs
hphp/hack/src/hhbc/hhbc_by_ref/hhas_body.rs
hphp/hack/src/hhbc/hhbc_by_ref/hhbc_ast.rs