Handout
This commit is contained in:
16
CPPLINT.cfg
Normal file
16
CPPLINT.cfg
Normal file
@@ -0,0 +1,16 @@
|
||||
# StuBS Coding Style Checker
|
||||
#
|
||||
# Wir orientieren uns grob an den Google C++ Style Guide ( http://google.github.io/styleguide/cppguide.html )
|
||||
# mit primär folgenden Änderungen/Anpassungen:
|
||||
#
|
||||
# - Tabs statt Leerzeichen. Spart Bytes ;)
|
||||
# - Zeilenlänge ist 120
|
||||
# - Keine Angaben zum Copyright
|
||||
# - Aufgrund des Aufgabenbuildsystems sind neue / leere Zeilen leider nicht immer vermeidbar
|
||||
#
|
||||
# Zum Prüfen empfiehlt sich beispielsweise das Pythonscript CPPLINT.py ( https://github.com/cpplint/cpplint )
|
||||
# welches mit dieser Konfigurationsdatei arbeiten kann.
|
||||
#
|
||||
set noparent
|
||||
filter=-whitespace/tab,-legal/copyright,-runtime/int,-runtime/threadsafe_fn,-readability/todo,-build/include_subdir,-runtime/references,-build/include_what_you_use,-whitespace/blank_line,-build/include,-whitespace/end_of_line,-whitespace/indent
|
||||
linelength=120
|
||||
Reference in New Issue
Block a user