Skip to content

Commit dcdbeb0

Browse files
authored
Merge pull request #10723 from cabalism/remove/unused-cpp
Remove unused -XCPP
2 parents 529bd1f + 7965c7f commit dcdbeb0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+0
-161
lines changed

Cabal-QuickCheck/src/Test/QuickCheck/GenericArbitrary.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{-# LANGUAGE CPP #-}
21
{-# LANGUAGE FlexibleContexts #-}
32
{-# LANGUAGE GADTs #-}
43
{-# LANGUAGE TypeOperators #-}

Cabal-syntax/src/Distribution/Compat/Binary.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
{-# LANGUAGE CPP #-}
2-
31
module Distribution.Compat.Binary
42
( decodeOrFailIO
53
, decodeFileOrFail'

Cabal-syntax/src/Distribution/Compat/Exception.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
{-# LANGUAGE CPP #-}
2-
31
module Distribution.Compat.Exception
42
( catchIO
53
, catchExit

Cabal-syntax/src/Distribution/Compat/Graph.hs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
{-# LANGUAGE BangPatterns #-}
2-
{-# LANGUAGE CPP #-}
32
{-# LANGUAGE FlexibleContexts #-}
43
{-# LANGUAGE ScopedTypeVariables #-}
54
{-# LANGUAGE TypeFamilies #-}
65
{-# LANGUAGE TypeOperators #-}
76
{-# LANGUAGE UndecidableInstances #-}
87

9-
-----------------------------------------------------------------------------
10-
11-
-----------------------------------------------------------------------------
12-
138
-- |
149
-- Module : Distribution.Compat.Graph
1510
-- Copyright : (c) Edward Z. Yang 2016

Cabal-syntax/src/Distribution/Compat/MonadFail.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
{-# LANGUAGE CPP #-}
2-
31
-- | Compatibility layer for "Control.Monad.Fail"
42
module Distribution.Compat.MonadFail (Control.Monad.Fail.MonadFail (fail)) where
53

Cabal-syntax/src/Distribution/Compat/Newtype.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{-# LANGUAGE CPP #-}
21
{-# LANGUAGE DefaultSignatures #-}
32
{-# LANGUAGE FlexibleInstances #-}
43
{-# LANGUAGE FunctionalDependencies #-}

Cabal-syntax/src/Distribution/Compat/Prelude.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{-# LANGUAGE CPP #-}
21
{-# LANGUAGE FlexibleContexts #-}
32
{-# LANGUAGE RankNTypes #-}
43
{-# LANGUAGE Trustworthy #-}

Cabal-syntax/src/Distribution/Compat/Semigroup.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{-# LANGUAGE CPP #-}
21
{-# LANGUAGE DeriveGeneric #-}
32
{-# LANGUAGE FlexibleContexts #-}
43
{-# LANGUAGE GeneralizedNewtypeDeriving #-}

Cabal-syntax/src/Distribution/FieldGrammar/Class.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{-# LANGUAGE CPP #-}
21
{-# LANGUAGE ConstraintKinds #-}
32
{-# LANGUAGE FunctionalDependencies #-}
43
{-# LANGUAGE RankNTypes #-}

Cabal-syntax/src/Distribution/Fields/ParseResult.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{-# LANGUAGE BangPatterns #-}
2-
{-# LANGUAGE CPP #-}
32
{-# LANGUAGE FlexibleContexts #-}
43
{-# LANGUAGE RankNTypes #-}
54

0 commit comments

Comments
 (0)