Skip to content

Commit a0d4239

Browse files
authored
Merge pull request #6957 from tautschnig/cleanup/cpplint-update
Update cpplint to cpplint/cpplint@2cba6ce8dfc for Python 3 support
2 parents 23e01f2 + b5ab3a1 commit a0d4239

File tree

5 files changed

+988
-226
lines changed

5 files changed

+988
-226
lines changed

.github/workflows/pull-request-checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ jobs:
254254
DEBIAN_FRONTEND: noninteractive
255255
run: |
256256
sudo apt-get update
257-
sudo apt-get install --no-install-recommends -yq cmake ninja-build gcc gdb g++ maven flex bison libxml2-utils dpkg-dev ccache doxygen z3 python2
257+
sudo apt-get install --no-install-recommends -yq cmake ninja-build gcc gdb g++ maven flex bison libxml2-utils dpkg-dev ccache doxygen z3
258258
- name: Confirm z3 solver is available and log the version installed
259259
run: z3 --version
260260
- name: Download cvc-5 from the releases page and make sure it can be deployed

regression/cpp-linter/operator-spacing2/main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@ static void fun()
2424

2525
int x = 1<<4;
2626

27-
// Ideally this should produce an error, see operator-spacing3
2827
status()<<"Adding CPROVER library ("<<eom;
2928

30-
// Ideally this should produce an error, see operator-spacing3
3129
int x = 1 << 4;
3230

3331
int y = a<<b;
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
CORE
22
main.cpp
33

4-
^# Total errors found: 0$
5-
^EXIT=0$
4+
^regression/cpp-linter/operator-spacing2/main\.cpp:27: Missing spaces around << \[whitespace/operators\] \[3\]
5+
^regression/cpp-linter/operator-spacing2/main\.cpp:31: Missing spaces around << \[whitespace/operators\] \[3\]
6+
^# Total errors found: 2$
7+
^EXIT=1$
68
^SIGNAL=0$
79
--
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
KNOWNBUG
1+
CORE
22
main.cpp
33

4-
^main\.cpp:27: Missing spaces around << \[whitespace/operators\] \[3\]
5-
^main\.cpp:27: Missing spaces around << \[whitespace/operators\] \[3\]
6-
^main\.cpp:29: Remove spaces around << \[whitespace/operators\] \[4\]
7-
^main\.cpp:29: Remove spaces around << \[whitespace/operators\] \[4\]
8-
^# Total errors found: 4$
4+
^regression/cpp-linter/operator-spacing3/main\.cpp:27: Missing spaces around << \[whitespace/operators\] \[3\]
5+
^regression/cpp-linter/operator-spacing3/main\.cpp:31: Missing spaces around << \[whitespace/operators\] \[3\]
6+
^# Total errors found: 2$
97
^EXIT=1$
108
^SIGNAL=0$
119
--

0 commit comments

Comments
 (0)