-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4011 from hzeller/feature-20241109-redundant-casts
Remove redundant casts, use make_uique, use 'using'
- Loading branch information
Showing
98 changed files
with
373 additions
and
415 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1075,7 +1075,7 @@ jobs: | |
- name: Install Dependencies | ||
run: | | ||
sudo apt-get update -qq | ||
sudo apt -qq -y install clang-tidy-18 \ | ||
sudo apt -qq -y install clang-tidy-18 ccache \ | ||
g++-9 default-jre cmake \ | ||
uuid-dev build-essential | ||
|
@@ -1096,25 +1096,34 @@ jobs: | |
submodules: recursive | ||
fetch-depth: 0 | ||
|
||
- name: Use ccache | ||
uses: hendrikmuhs/[email protected] | ||
- name: Create Cache Timestamp | ||
id: cache_timestamp | ||
uses: nanzm/[email protected] | ||
with: | ||
format: 'YYYY-MM-DD-HH-mm-ss' | ||
|
||
- name: Retrieve cached results | ||
uses: actions/cache@v3 | ||
with: | ||
key: clang-tidy-codegen | ||
path: | | ||
/home/runner/.cache/clang-tidy | ||
/home/runner/.cache/ccache | ||
key: clang-tidy-${{ steps.cache_timestamp.outputs.time }} | ||
restore-keys: clang-tidy- | ||
|
||
- name: Configure shell | ||
run: | | ||
echo 'PATH=/usr/lib/ccache:'"$PATH" >> $GITHUB_ENV | ||
- name: Prepare source | ||
run: | | ||
make run-cmake-release | ||
make -j2 -C build GenerateParser | ||
make -j2 -C build GenerateParserListeners | ||
make -j2 -C build GenerateCacheSerializers | ||
make run-cmake-release-with-python | ||
make -j2 -C build surelog # creates all relevant artifacts | ||
ln -sf build/compile_commands.json . | ||
- name: Run clang tidy | ||
run: | | ||
export CLANG_TIDY=clang-tidy-18 | ||
"${CLANG_TIDY}" --version | ||
./.github/bin/run-clang-tidy.sh limited | ||
./.github/bin/run-clang-tidy.sh limited \ | ||
|| ( cat Surelog_clang-tidy.out ; exit 1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.