Skip to content

Update cpplint to cpplint/cpplint@2cba6ce8dfc for Python 3 support #6957

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ jobs:
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt-get update
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
sudo apt-get install --no-install-recommends -yq cmake ninja-build gcc gdb g++ maven flex bison libxml2-utils dpkg-dev ccache doxygen z3
- name: Confirm z3 solver is available and log the version installed
run: z3 --version
- name: Download cvc-5 from the releases page and make sure it can be deployed
Expand Down
2 changes: 0 additions & 2 deletions regression/cpp-linter/operator-spacing2/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@ static void fun()

int x = 1<<4;

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

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

int y = a<<b;
Expand Down
6 changes: 4 additions & 2 deletions regression/cpp-linter/operator-spacing2/test.desc
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
CORE
main.cpp

^# Total errors found: 0$
^EXIT=0$
^regression/cpp-linter/operator-spacing2/main\.cpp:27: Missing spaces around << \[whitespace/operators\] \[3\]
^regression/cpp-linter/operator-spacing2/main\.cpp:31: Missing spaces around << \[whitespace/operators\] \[3\]
^# Total errors found: 2$
^EXIT=1$
^SIGNAL=0$
--
10 changes: 4 additions & 6 deletions regression/cpp-linter/operator-spacing3/test.desc
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
KNOWNBUG
CORE
main.cpp

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