source: src/AST/BasicKind.hpp @ fc1a3e2

Last change on this file since fc1a3e2 was 7a780ad, checked in by Andrew Beach <ajbeach@…>, 7 months ago

Moved ast::BasicType::Kind to ast::BasicKind? in its own hearder. This is more consistent with other utility enums (although we still use this as a enum class) and reduces what some files need to include. Also did a upgrade in a comment with MAX_INTEGER_TYPE, it is now part of the enum.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1//
2// Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
7// BasicKind.hpp -- Declares all kinds of basic types.
8//
9// Author           : Andrew Beach
10// Created On       : Thu Apr 18 14:00:00 2024
11// Last Modified By : Andrew Beach
12// Last Modified On : Thu Apr 18 14:00:00 2024
13// Update Count     : 0
14//
15
16#pragma once
17
18namespace ast {
19
20// GENERATED START, DO NOT EDIT
21// GENERATED BY BasicTypes-gen.cc
22enum BasicKind {
23        Bool,
24        Char,
25        SignedChar,
26        UnsignedChar,
27        ShortSignedInt,
28        ShortUnsignedInt,
29        SignedInt,
30        UnsignedInt,
31        LongSignedInt,
32        LongUnsignedInt,
33        LongLongSignedInt,
34        LongLongUnsignedInt,
35        SignedInt128,
36        UnsignedInt128,
37        uFloat16,
38        uFloat16Complex,
39        uFloat32,
40        uFloat32Complex,
41        Float,
42        FloatComplex,
43        uFloat32x,
44        uFloat32xComplex,
45        uFloat64,
46        uFloat64Complex,
47        Double,
48        DoubleComplex,
49        uFloat64x,
50        uFloat64xComplex,
51        uuFloat80,
52        uFloat128,
53        uFloat128Complex,
54        uuFloat128,
55        LongDouble,
56        LongDoubleComplex,
57        uFloat128x,
58        uFloat128xComplex,
59        NUMBER_OF_BASIC_TYPES,
60        MAX_INTEGER_TYPE = UnsignedInt128,
61};
62// GENERATED END
63
64}
Note: See TracBrowser for help on using the repository browser.