Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sepolicy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
e5017318
Commit
e5017318
authored
7 years ago
by
Tri Vo
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Silence expandtypeattribute build-time warning."
am:
969d8cc4
Change-Id: I31f387a654065d5311a3f7b484a9833c0d5ba973
parents
f7066845
969d8cc4
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/mini_parser.py
+3
-0
3 additions, 0 deletions
tests/mini_parser.py
with
3 additions
and
0 deletions
tests/mini_parser.py
+
3
−
0
View file @
e5017318
...
@@ -77,6 +77,9 @@ class MiniCilParser:
...
@@ -77,6 +77,9 @@ class MiniCilParser:
self
.
_parseTypeattribute
(
stmt
)
self
.
_parseTypeattribute
(
stmt
)
elif
re
.
match
(
r
"
typeattributeset\s+.+
"
,
stmt
):
elif
re
.
match
(
r
"
typeattributeset\s+.+
"
,
stmt
):
self
.
_parseTypeattributeset
(
stmt
)
self
.
_parseTypeattributeset
(
stmt
)
elif
re
.
match
(
r
"
expandtypeattribute\s+.+
"
,
stmt
):
# To silence the build warnings.
pass
else
:
else
:
m
=
re
.
match
(
r
"
(\w+)\s+.+
"
,
stmt
)
m
=
re
.
match
(
r
"
(\w+)\s+.+
"
,
stmt
)
ret
=
"
Warning: Unknown statement type (
"
+
m
.
group
(
1
)
+
"
) in
"
ret
=
"
Warning: Unknown statement type (
"
+
m
.
group
(
1
)
+
"
) in
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment