TTG for ForeignImport/Export
Add a TTG parameter to both `ForeignImport` and `ForeignExport` and, according to #21592, move the GHC-specific bits in them and in the other AST data types related to foreign imports and exports to the TTG extension point.
Showing
- compiler/GHC/Driver/Errors/Ppr.hs 1 addition, 1 deletioncompiler/GHC/Driver/Errors/Ppr.hs
- compiler/GHC/Hs/Decls.hs 109 additions, 16 deletionscompiler/GHC/Hs/Decls.hs
- compiler/GHC/Hs/Instances.hs 10 additions, 0 deletionscompiler/GHC/Hs/Instances.hs
- compiler/GHC/HsToCore.hs 1 addition, 1 deletioncompiler/GHC/HsToCore.hs
- compiler/GHC/HsToCore/Foreign/Decl.hs 4 additions, 4 deletionscompiler/GHC/HsToCore/Foreign/Decl.hs
- compiler/GHC/HsToCore/Quote.hs 4 additions, 4 deletionscompiler/GHC/HsToCore/Quote.hs
- compiler/GHC/Iface/Ext/Ast.hs 7 additions, 7 deletionscompiler/GHC/Iface/Ext/Ast.hs
- compiler/GHC/Parser.y 11 additions, 11 deletionscompiler/GHC/Parser.y
- compiler/GHC/Parser/PostProcess.hs 5 additions, 6 deletionscompiler/GHC/Parser/PostProcess.hs
- compiler/GHC/Rename/Module.hs 13 additions, 13 deletionscompiler/GHC/Rename/Module.hs
- compiler/GHC/Tc/Errors/Types.hs 6 additions, 6 deletionscompiler/GHC/Tc/Errors/Types.hs
- compiler/GHC/Tc/Gen/Annotation.hs 1 addition, 1 deletioncompiler/GHC/Tc/Gen/Annotation.hs
- compiler/GHC/Tc/Gen/Foreign.hs 17 additions, 17 deletionscompiler/GHC/Tc/Gen/Foreign.hs
- compiler/GHC/Tc/Gen/Rule.hs 6 additions, 7 deletionscompiler/GHC/Tc/Gen/Rule.hs
- compiler/GHC/ThToHs.hs 9 additions, 12 deletionscompiler/GHC/ThToHs.hs
- compiler/Language/Haskell/Syntax/Binds.hs 1 addition, 1 deletioncompiler/Language/Haskell/Syntax/Binds.hs
- compiler/Language/Haskell/Syntax/Decls.hs 27 additions, 109 deletionscompiler/Language/Haskell/Syntax/Decls.hs
- compiler/Language/Haskell/Syntax/Extension.hs 4 additions, 0 deletionscompiler/Language/Haskell/Syntax/Extension.hs
Loading
Please register or sign in to comment