Remove workaround for now-fixed Clang CPP bug (#1028)
Before LLVM 6.0.1 (or 10.0 on Apple LLVM), there was a bug where lines that started with an octothorpe but turned out not to lex like pragmas would have an extra line added after them. Since this bug has been fixed upstream and that it doesn't have dire consequences anyways, the workaround is not really worth it anymore - we can just tell people to update their clang version (or re-structure their pragma code).
Showing
- haddock-api/haddock-api.cabal 0 additions, 2 deletionshaddock-api/haddock-api.cabal
- haddock-api/src/Haddock/Backends/Hyperlinker.hs 1 addition, 3 deletionshaddock-api/src/Haddock/Backends/Hyperlinker.hs
- haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs 2 additions, 45 deletionshaddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs
- haddock-api/test/Haddock/Backends/Hyperlinker/ParserSpec.hs 18 additions, 31 deletionshaddock-api/test/Haddock/Backends/Hyperlinker/ParserSpec.hs
- hypsrc-test/Main.hs 1 addition, 8 deletionshypsrc-test/Main.hs
- hypsrc-test/src/ClangCppBug.hs 0 additions, 21 deletionshypsrc-test/src/ClangCppBug.hs
Loading
Please register or sign in to comment