mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-29 06:30:39 +03:00
Implement previously inoperative pragma(LDC_no_moduleinfo).
GitHub: Fixes #571.
This commit is contained in:
parent
1f45eadbfe
commit
04570399d4
5 changed files with 26 additions and 20 deletions
|
@ -140,7 +140,8 @@ Pragma DtoGetPragma(Scope *sc, PragmaDeclaration *decl, std::string &arg1str)
|
|||
error(Loc(), "takes no parameters");
|
||||
fatal();
|
||||
}
|
||||
return LLVMno_moduleinfo;
|
||||
sc->module->noModuleInfo = true;
|
||||
return LLVMignore;
|
||||
}
|
||||
|
||||
// pragma(LDC_alloca) { funcdecl(s) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue