Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.15 KB | None | 0 0
  1. xor@xor-Z97M-DS3H:~/romes/sm64/mdcv$ clang-tidy-8
  2. Error: no input files specified.
  3. USAGE: clang-tidy-8 [options] <source0> [... <sourceN>]
  4.  
  5. OPTIONS:
  6.  
  7. Generic Options:
  8.  
  9. -help - Display available options (-help-hidden for more)
  10. -version - Display the version of this program
  11.  
  12. clang-tidy options:
  13.  
  14. -checks=<string> -
  15. Comma-separated list of globs with optional '-'
  16. prefix. Globs are processed in order of
  17. appearance in the list. Globs without '-'
  18. prefix add checks with matching names to the
  19. set, globs with the '-' prefix remove checks
  20. with matching names from the set of enabled
  21. checks. This option's value is appended to the
  22. value of the 'Checks' option in .clang-tidy
  23. file, if any.
  24. -config=<string> -
  25. Specifies a configuration in YAML/JSON format:
  26. -config="{Checks: '*',
  27. CheckOptions: [{key: x,
  28. value: y}]}"
  29. When the value is empty, clang-tidy will
  30. attempt to find a file named .clang-tidy for
  31. each source file in its parent directories.
  32. -dump-config -
  33. Dumps configuration in the YAML format to
  34. stdout. This option can be used along with a
  35. file name (and '--' if the file is outside of a
  36. project with configured compilation database).
  37. The configuration used for this file will be
  38. printed.
  39. Use along with -checks=* to include
  40. configuration of all checks.
  41. -enable-check-profile -
  42. Enable per-check timing profiles, and print a
  43. report to stderr.
  44. -explain-config -
  45. For each enabled check explains, where it is
  46. enabled, i.e. in clang-tidy binary, command
  47. line or a specific configuration file.
  48. -export-fixes=<filename> -
  49. YAML file to store suggested fixes in. The
  50. stored fixes can be applied to the input source
  51. code with clang-apply-replacements.
  52. -extra-arg=<string> - Additional argument to append to the compiler command line
  53. -extra-arg-before=<string> - Additional argument to prepend to the compiler command line
  54. -fix -
  55. Apply suggested fixes. Without -fix-errors
  56. clang-tidy will bail out if any compilation
  57. errors were found.
  58. -fix-errors -
  59. Apply suggested fixes even if compilation
  60. errors were found. If compiler errors have
  61. attached fix-its, clang-tidy will apply them as
  62. well.
  63. -format-style=<string> -
  64. Style for formatting code around applied fixes:
  65. - 'none' (default) turns off formatting
  66. - 'file' (literally 'file', not a placeholder)
  67. uses .clang-format file in the closest parent
  68. directory
  69. - '{ <json> }' specifies options inline, e.g.
  70. -format-style='{BasedOnStyle: llvm, IndentWidth: 8}'
  71. - 'llvm', 'google', 'webkit', 'mozilla'
  72. See clang-format documentation for the up-to-date
  73. information about formatting styles and options.
  74. This option overrides the 'FormatStyle` option in
  75. .clang-tidy file, if any.
  76. -header-filter=<string> -
  77. Regular expression matching the names of the
  78. headers to output diagnostics from. Diagnostics
  79. from the main file of each translation unit are
  80. always displayed.
  81. Can be used together with -line-filter.
  82. This option overrides the 'HeaderFilter' option
  83. in .clang-tidy file, if any.
  84. -line-filter=<string> -
  85. List of files with line ranges to filter the
  86. warnings. Can be used together with
  87. -header-filter. The format of the list is a
  88. JSON array of objects:
  89. [
  90. {"name":"file1.cpp","lines":[[1,3],[5,7]]},
  91. {"name":"file2.h"}
  92. ]
  93. -list-checks -
  94. List all enabled checks and exit. Use with
  95. -checks=* to list all available checks.
  96. -p=<string> - Build path
  97. -quiet -
  98. Run clang-tidy in quiet mode. This suppresses
  99. printing statistics about ignored warnings and
  100. warnings treated as errors if the respective
  101. options are specified.
  102. -store-check-profile=<prefix> -
  103. By default reports are printed in tabulated
  104. format to stderr. When this option is passed,
  105. these per-TU profiles are instead stored as JSON.
  106. -system-headers - Display the errors from system headers.
  107. -vfsoverlay=<filename> -
  108. Overlay the virtual filesystem described by file
  109. over the real file system.
  110. -warnings-as-errors=<string> -
  111. Upgrades warnings to errors. Same format as
  112. '-checks'.
  113. This option's value is appended to the value of
  114. the 'WarningsAsErrors' option in .clang-tidy
  115. file, if any.
  116. xor@xor-Z97M-DS3H:~/romes/sm64/mdcv$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement