mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-06 10:57:35 +03:00
Drop support for LLVM < 3.5
This allows to clean up the code a little.
This commit is contained in:
parent
8eab25f2fa
commit
60d676e2a1
57 changed files with 35 additions and 1019 deletions
|
@ -1988,11 +1988,7 @@ private:
|
|||
#if IN_LLVM
|
||||
char *toCppMangle(Dsymbol *s)
|
||||
{
|
||||
#if LDC_LLVM_VER >= 305
|
||||
const bool isTargetWindowsMSVC = global.params.targetTriple.isWindowsMSVCEnvironment();
|
||||
#else
|
||||
const bool isTargetWindowsMSVC = global.params.targetTriple.getOS() == llvm::Triple::Win32;
|
||||
#endif
|
||||
const bool isTargetWindowsMSVC = global.params.targetTriple.isWindowsMSVCEnvironment();
|
||||
if (isTargetWindowsMSVC)
|
||||
{
|
||||
VisualCPPMangler v(!global.params.is64bit);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue