Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
2ecc0c83
Commit
2ecc0c83
authored
9 years ago
by
Martin Sebor
Committed by
Martin Sebor
9 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check_GNU_style.sh: Avoid false posivies in trailing operator checks.
From-SVN: r234965
parent
a6297ab5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
contrib/ChangeLog
+5
-0
contrib/check_GNU_style.sh
+3
-2
No files found.
contrib/ChangeLog
View file @
2ecc0c83
2016
-
04
-
13
Martin
Sebor
<
msebor
@redhat
.
com
>
*
check_GNU_style
.
sh
:
Avoid
false
posivies
in
trailing
operator
checks
.
2016
-
03
-
07
Martin
Sebor
<
msebor
@redhat
.
com
>
*
check_GNU_style
.
sh
(
color
)
:
New
global
variable
.
...
...
This diff is collapsed.
Click to expand it.
contrib/check_GNU_style.sh
View file @
2ecc0c83
...
...
@@ -240,6 +240,7 @@ g 'There should be no space before closing parenthesis.' \
g
'Braces should be on a separate line.'
\
'(\)|else)[[:blank:]]*{'
# Does this apply to definition of aggregate objects?
g
'Trailing operator.'
\
# Does this apply to definitions of aggregate objects?
ag
'Trailing operator.'
\
'^[1-9][0-9]*:\+[[:space:]]'
\
'(([^a-zA-Z_]\*)|([-%<=&|^?])|([^*]/)|([^:][+]))$'
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment