o-jill / kouets

automatic lint program with gui.
1 stars 0 forks source link

decoration for cpplint.py w/o --output=vs7 #39

Closed o-jill closed 8 years ago

o-jill commented 9 years ago

line number will be shown in different way from vs7 format.

without --output=vs7

D:/programing/QT/kouets/src/kouetsapp.h:0: No copyright message found. You should have a line: "Copyright [year] <Copyright Owner>" [legal/copyright] [5] 
D:/programing/QT/kouets/src/kouetsapp.h:6: #ifndef header guard has wrong style, please use: SRC_KOUETSAPP_H_ [build/header_guard] [5] 
D:/programing/QT/kouets/src/kouetsapp.h:92: #endif line should be "#endif // SRC_KOUETSAPP_H_" [build/header_guard] [5] 
D:/programing/QT/kouets/src/kouetsapp.h:15: { should almost always be at the end of the previous line [whitespace/braces] [4] 
D:/programing/QT/kouets/src/kouetsapp.h:16: public: should be indented +1 space inside class KouetsApp [whitespace/indent] [3] 
D:/programing/QT/kouets/src/kouetsapp.h:17: Is this a non-const reference? If so, make const or use a pointer: int &argc [runtime/references] [2] 
D:/programing/QT/kouets/src/kouetsapp.h:69: private: should be indented +1 space inside class KouetsApp [whitespace/indent] [3] 
D:/programing/QT/kouets/src/kouetsapp.h:73: protected: should be indented +1 space inside class KouetsApp [whitespace/indent] [3] 
D:/programing/QT/kouets/src/kouetsapp.h:76: private: should be indented +1 space inside class KouetsApp [whitespace/indent] [3] 
Done processing D:/programing/QT/kouets/src/kouetsapp.h 
Total errors found: 9

with --output=vs7

D:/programing/QT/kouets/src/kouetsapp.h(0): No copyright message found. You should have a line: "Copyright [year] <Copyright Owner>" [legal/copyright] [5]
D:/programing/QT/kouets/src/kouetsapp.h(6): #ifndef header guard has wrong style, please use: SRC_KOUETSAPP_H_ [build/header_guard] [5]
D:/programing/QT/kouets/src/kouetsapp.h(92): #endif line should be "#endif // SRC_KOUETSAPP_H_" [build/header_guard] [5]
D:/programing/QT/kouets/src/kouetsapp.h(15): { should almost always be at the end of the previous line [whitespace/braces] [4]
D:/programing/QT/kouets/src/kouetsapp.h(16): public: should be indented +1 space inside class KouetsApp [whitespace/indent] [3]
D:/programing/QT/kouets/src/kouetsapp.h(17): Is this a non-const reference? If so, make const or use a pointer: int &argc [runtime/references] [2]
D:/programing/QT/kouets/src/kouetsapp.h(69): private: should be indented +1 space inside class KouetsApp [whitespace/indent] [3]
D:/programing/QT/kouets/src/kouetsapp.h(73): protected: should be indented +1 space inside class KouetsApp [whitespace/indent] [3]
D:/programing/QT/kouets/src/kouetsapp.h(76): private: should be indented +1 space inside class KouetsApp [whitespace/indent] [3]
Done processing D:/programing/QT/kouets/src/kouetsapp.h 
Total errors found: 9