Skip to content

Commit

Permalink
Merge pull request #8625 from drslump/fixes-7586-documentation-on-hints
Browse files Browse the repository at this point in the history
Fixes #7586: Adds documentation for hints
  • Loading branch information
dom96 authored Aug 14, 2018
2 parents bc957ac + 6a0751e commit 9a7e6be
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions doc/nimc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,46 @@ User Some user defined warning.
========================== ============================================


List of hints
-------------

Each hint can be activated individually with ``--hint[NAME]:on|off`` or in a
``push`` pragma.

========================== ============================================
Name Description
========================== ============================================
CC Shows when the C compiler is called.
CodeBegin
CodeEnd
CondTrue
Conf A config file was loaded.
ConvToBaseNotNeeded
ConvFromXtoItselfNotNeeded
Dependency
Exec Program is executed.
ExprAlwaysX
ExtendedContext
GCStats Dumps statistics about the Garbage Collector.
GlobalVar Shows global variables declarations.
LineTooLong Line exceeds the maximum length.
Link Linking phase.
Name
Path Search paths modifications.
Pattern
Performance
Processing Artifact being compiled.
QuitCalled
Source The source line that triggered a diagnostic
message.
StackTrace
Success, SuccessX Successful compilation of a library or a binary.
User
UserRaw
XDeclaredButNotUsed Unused symbols in the code.
========================== ============================================


Verbosity levels
----------------

Expand Down

0 comments on commit 9a7e6be

Please sign in to comment.