diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/analysis/types/basic.c | 12 | ||||
-rw-r--r-- | src/analysis/types/basic.h | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/src/analysis/types/basic.c b/src/analysis/types/basic.c index 596c696..755a6f6 100644 --- a/src/analysis/types/basic.c +++ b/src/analysis/types/basic.c @@ -327,6 +327,10 @@ static char *g_basic_type_to_string(const GBasicType *type, bool include) desc = "__float754r_16"; break; + case BTP_754R_N: + desc = "__float754r_n"; + break; + case BTP_CHAR32_T: desc = "char32_t"; break; @@ -335,6 +339,14 @@ static char *g_basic_type_to_string(const GBasicType *type, bool include) desc = "char16_t"; break; + case BTP_AUTO: + desc = "auto"; + break; + + case BTP_DECL_AUTO: + desc = "decltype(auto)"; + break; + default: assert(false); desc = NULL; diff --git a/src/analysis/types/basic.h b/src/analysis/types/basic.h index 5707f2f..d2b3055 100644 --- a/src/analysis/types/basic.h +++ b/src/analysis/types/basic.h @@ -60,8 +60,11 @@ typedef enum _BaseType BTP_754R_128, /* IEEE 754r float (128 bits) */ BTP_754R_32, /* IEEE 754r float (32 bits) */ BTP_754R_16, /* IEEE 754r float (16 bits) */ + BTP_754R_N, /* IEEE 754r float (n bits) */ BTP_CHAR32_T, /* char32_t */ BTP_CHAR16_T, /* char16_t */ + BTP_AUTO, /* auto */ + BTP_DECL_AUTO, /* decltype(auto) */ BTP_INVALID |