Commit 6385c40
committed
Suppress Cppcheck syntax errors
Cppcheck cannot recognize the GNU extension of explicit register
variables:
register int x asm("eax");
This commit suppresses syntax error to prevent explicit register
variables being blocked. It also makes real syntax error suppressed, but
it doesn't affect much while real ones lead to compile-time errors and
can be found early.
Change-Id: I603fa80083ba935c7de706546f77bac616da6fcc1 parent 10ee61f commit 6385c40
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
0 commit comments