forked from alx-tools/Betty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Check comment blocks leading /* on separate line
- Loading branch information
Alexandre Gautier
committed
Feb 10, 2017
1 parent
2c55d79
commit 6694a40
Showing
4 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,7 @@ | |
/* Bad | ||
* multi-line | ||
* comment */ | ||
|
||
/** Also | ||
very bad | ||
comment*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
tests/style/comments/comments0.c:3: ERROR: do not use C99 // comments | ||
tests/style/comments/comments0.c:14: WARNING: Block comments use a leading /* on a separate line | ||
tests/style/comments/comments0.c:16: WARNING: Block comments use a trailing */ on a separate line | ||
total: 1 errors, 1 warnings, 16 lines checked | ||
tests/style/comments/comments0.c:18: WARNING: Block comments use a leading /* on a separate line | ||
tests/style/comments/comments0.c:19: WARNING: Block comments use * on subsequent lines | ||
tests/style/comments/comments0.c:20: WARNING: Block comments use a trailing */ on a separate line | ||
total: 1 errors, 5 warnings, 20 lines checked |