mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Added vendor-prefixed pragma names, deprecated old ones.
This commit is contained in:
21
dmd2/idgen.c
21
dmd2/idgen.c
@@ -267,7 +267,26 @@ Msgtable msgtable[] =
|
||||
{ "startaddress" },
|
||||
|
||||
#if IN_LLVM
|
||||
// LDC pragmas
|
||||
// LDC-specific pragmas.
|
||||
{ "LDC_intrinsic" },
|
||||
{ "LDC_no_typeinfo" },
|
||||
{ "LDC_no_moduleinfo" },
|
||||
{ "LDC_alloca" },
|
||||
{ "LDC_va_start" },
|
||||
{ "LDC_va_copy" },
|
||||
{ "LDC_va_end" },
|
||||
{ "LDC_va_arg" },
|
||||
{ "LDC_verbose" },
|
||||
{ "LDC_allow_inline" },
|
||||
{ "LDC_inline_asm" },
|
||||
{ "LDC_inline_ir" },
|
||||
{ "LDC_fence" },
|
||||
{ "LDC_atomic_load" },
|
||||
{ "LDC_atomic_store" },
|
||||
{ "LDC_atomic_cmp_xchg" },
|
||||
{ "LDC_atomic_rmw" },
|
||||
|
||||
// Deprecated LDC pragmas lacking the vendor prefix.
|
||||
{ "intrinsic" },
|
||||
{ "no_typeinfo" },
|
||||
{ "no_moduleinfo" },
|
||||
|
||||
Reference in New Issue
Block a user