mirror of
https://github.com/Noratrieb/uwucc.git
synced 2026-01-14 16:45:07 +01:00
intern
This commit is contained in:
parent
d3846e3357
commit
77e18126e7
9 changed files with 312 additions and 129 deletions
|
|
@ -142,7 +142,7 @@ pub enum Stmt {
|
|||
// --- Types and decls and garbage whatever
|
||||
//
|
||||
|
||||
#[derive(Debug, DebugPls, Clone, Copy)]
|
||||
#[derive(Debug, DebugPls, Clone, Copy, PartialEq, Eq, Hash)]
|
||||
pub enum IntTySignedness {
|
||||
Signed,
|
||||
Unsigned,
|
||||
|
|
@ -155,7 +155,7 @@ impl Default for IntTySignedness {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, DebugPls, Clone, Copy)]
|
||||
#[derive(Debug, DebugPls, Clone, Copy, PartialEq, Eq, Hash)]
|
||||
pub enum IntTyKind {
|
||||
Short,
|
||||
Int,
|
||||
|
|
@ -163,7 +163,7 @@ pub enum IntTyKind {
|
|||
LongLong,
|
||||
}
|
||||
|
||||
#[derive(Debug, DebugPls, Clone, Copy)]
|
||||
#[derive(Debug, DebugPls, Clone, Copy, PartialEq, Eq, Hash)]
|
||||
pub struct IntTy {
|
||||
pub sign: IntTySignedness,
|
||||
pub kind: IntTyKind,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue