Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
7ed1b8ef
Commit
7ed1b8ef
authored
Jan 12, 2023
by
Adam Gundry
Committed by
Marge Bot
Jan 18, 2023
Browse files
Minor corrections to comments
parent
d0a63ef8
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/GHC/Driver/Flags.hs
View file @
7ed1b8ef
...
...
@@ -49,7 +49,7 @@ instance NFData Language where
-- | Debugging flags
data
DumpFlag
-- See Note [Updating flag description in the User's Guide]
-- See Note [Updating flag description in the User's Guide]
in GHC.Driver.Session
-- debugging flags
=
Opt_D_dump_cmm
...
...
@@ -196,7 +196,7 @@ enabledIfVerbose _ = True
-- | Enumerates the simple on-or-off dynamic flags
data
GeneralFlag
-- See Note [Updating flag description in the User's Guide]
-- See Note [Updating flag description in the User's Guide]
in GHC.Driver.Session
=
Opt_DumpToFile
-- ^ Append dump output to files instead of stdout.
|
Opt_DumpWithWays
-- ^ Use foo.ways.<dumpFlag> instead of foo.<dumpFlag>
...
...
@@ -533,7 +533,7 @@ optimisationFlags = EnumSet.fromList
]
data
WarningFlag
=
-- See Note [Updating flag description in the User's Guide]
-- See Note [Updating flag description in the User's Guide]
in GHC.Driver.Session
Opt_WarnDuplicateExports
|
Opt_WarnDuplicateConstraints
|
Opt_WarnRedundantConstraints
...
...
@@ -745,7 +745,7 @@ warnFlagNames wflag = case wflag of
-- Note [Documenting warning flags]
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
-- If you change the list of warning enabled by default
-- If you change the list of warning
s
enabled by default
-- please remember to update the User's Guide. The relevant file is:
--
-- docs/users_guide/using-warnings.rst
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment