[commit: ghc] wip/angerman/llvmng: Add DynFlags signature. (edfbeb0)

git at git.haskell.org git at git.haskell.org
Sat Nov 11 08:35:00 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/angerman/llvmng
Link       : http://ghc.haskell.org/trac/ghc/changeset/edfbeb0bb23eb6d36c466bd5c6420c600fb75a36/ghc

>---------------------------------------------------------------

commit edfbeb0bb23eb6d36c466bd5c6420c600fb75a36
Author: Moritz Angermann <moritz.angermann at gmail.com>
Date:   Thu Nov 9 14:30:47 2017 +0800

    Add DynFlags signature.


>---------------------------------------------------------------

edfbeb0bb23eb6d36c466bd5c6420c600fb75a36
 compiler/main/DynFlags.hs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index bd7b768..eb25ead 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -2337,6 +2337,7 @@ addDepSuffix s d = d { depSuffixes = s : depSuffixes d }
 
 addCmdlineFramework f d = d { cmdlineFrameworks = f : cmdlineFrameworks d}
 
+addGhcVersion :: FilePath -> DynFlags -> DynFlags
 addGhcVersion f d = d { ghcVersion = Just f }
 
 addHaddockOpts f d = d { haddockOptions = Just f}



More information about the ghc-commits mailing list