Skip to content

Commit 621bdf9

Browse files
Merge branch 'main' into cir-x86-sqrt-builtin
2 parents 7f3f249 + 0602678 commit 621bdf9

File tree

237 files changed

+3767
-3822
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

237 files changed

+3767
-3822
lines changed

.github/workflows/gha-codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ jobs:
2929
sparse-checkout: |
3030
.github/
3131
- name: Initialize CodeQL
32-
uses: github/codeql-action/init@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
32+
uses: github/codeql-action/init@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3
3333
with:
3434
languages: actions
3535
queries: security-extended
3636
- name: Perform CodeQL Analysis
37-
uses: github/codeql-action/analyze@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
37+
uses: github/codeql-action/analyze@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3

.github/workflows/hlsl-test-all.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
path: golden-images
5555
- name: Setup Windows
5656
if: runner.os == 'Windows'
57-
uses: llvm/actions/setup-windows@42d80571b13f4599bbefbc7189728b64723c7f78 # main
57+
uses: llvm/actions/setup-windows@5dd955034a6742a2e21d82bf165fcb1050ae7b49 # main
5858
with:
5959
arch: amd64
6060
- name: Build DXC

.github/workflows/libclang-abi-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
repo: ${{ github.repository }}
103103
steps:
104104
- name: Install Ninja
105-
uses: llvm/actions/install-ninja@42d80571b13f4599bbefbc7189728b64723c7f78 # main
105+
uses: llvm/actions/install-ninja@5dd955034a6742a2e21d82bf165fcb1050ae7b49 # main
106106
- name: Download source code
107107
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
108108
with:

.github/workflows/libcxx-check-generated-files.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1616

1717
- name: Install dependencies
18-
uses: aminya/setup-cpp@a276e6e3d1db9160db5edc458e99a30d3b109949 # v1.7.1
18+
uses: aminya/setup-cpp@9bc9b8cd8a8d678f920e4e1e73f29da8010ced51 # v1.7.2
1919
with:
2020
clangformat: 17.0.1
2121
ninja: true

.github/workflows/llvm-abi-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
needs: abi-dump-setup
7474
runs-on: ubuntu-24.04
7575
container:
76-
image: "ghcr.io/llvm/ci-ubuntu-24.04-abi-tests@sha256:01e66b0847c1e9c88f0bd0492ed7c3374550a0730b48040f63888393f1ff6c13" #ghcr.io/llvm/ci-ubuntu-24.04-abi-tests:bb0bd382ab2b"
76+
image: "ghcr.io/llvm/ci-ubuntu-24.04-abi-tests@sha256:f80125c0f767e29b8616210c0fd5cea2cd1f4fb6f2ca86d89f6016b6329b8d7f" #ghcr.io/llvm/ci-ubuntu-24.04-abi-tests:bb0bd382ab2b"
7777
strategy:
7878
matrix:
7979
name:
@@ -133,7 +133,7 @@ jobs:
133133
if: github.repository_owner == 'llvm'
134134
runs-on: ubuntu-24.04
135135
container:
136-
image: "ghcr.io/llvm/ci-ubuntu-24.04-abi-tests@sha256:01e66b0847c1e9c88f0bd0492ed7c3374550a0730b48040f63888393f1ff6c13" #ghcr.io/llvm/ci-ubuntu-24.04-abi-tests:bb0bd382ab2b
136+
image: "ghcr.io/llvm/ci-ubuntu-24.04-abi-tests@sha256:f80125c0f767e29b8616210c0fd5cea2cd1f4fb6f2ca86d89f6016b6329b8d7f" #ghcr.io/llvm/ci-ubuntu-24.04-abi-tests:bb0bd382ab2b
137137
needs:
138138
- abi-dump-setup
139139
- abi-dump

.github/workflows/new-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-24.04
1414
if: github.repository == 'llvm/llvm-project'
1515
steps:
16-
- uses: llvm/actions/issue-labeler@42d80571b13f4599bbefbc7189728b64723c7f78 # main
16+
- uses: llvm/actions/issue-labeler@5dd955034a6742a2e21d82bf165fcb1050ae7b49 # main
1717
with:
1818
repo-token: ${{ secrets.ISSUE_SUBSCRIBER_TOKEN }}
1919
configuration-path: .github/new-issues-labeler.yml

.github/workflows/release-binaries.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ jobs:
189189
ref: ${{ needs.prepare.outputs.ref }}
190190

191191
- name: Install Ninja
192-
uses: llvm/actions/install-ninja@42d80571b13f4599bbefbc7189728b64723c7f78 # main
192+
uses: llvm/actions/install-ninja@5dd955034a6742a2e21d82bf165fcb1050ae7b49 # main
193193

194194
- name: Set Build Prefix
195195
id: setup-stage

.github/workflows/release-lit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
./llvm/utils/release/./github-upload-release.py --token "$GITHUB_TOKEN" --user ${{ github.actor }} --user-token "$USER_TOKEN" check-permissions
4646
4747
- name: Setup Cpp
48-
uses: aminya/setup-cpp@a276e6e3d1db9160db5edc458e99a30d3b109949 # v1.7.1
48+
uses: aminya/setup-cpp@9bc9b8cd8a8d678f920e4e1e73f29da8010ced51 # v1.7.2
4949
with:
5050
compiler: llvm-16.0.6
5151
cmake: true

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ jobs:
5757

5858
# Upload the results to GitHub's code scanning dashboard.
5959
- name: "Upload to code-scanning"
60-
uses: github/codeql-action/upload-sarif@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
60+
uses: github/codeql-action/upload-sarif@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3
6161
with:
6262
sarif_file: results.sarif

clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@
3434
#include "../google/UnnamedNamespaceInHeaderCheck.h"
3535
#include "../misc/NewDeleteOverloadsCheck.h"
3636
#include "../misc/NonCopyableObjectsCheck.h"
37+
#include "../misc/PredictableRandCheck.h"
3738
#include "../misc/StaticAssertCheck.h"
3839
#include "../misc/ThrowByValueCatchByReferenceCheck.h"
3940
#include "../modernize/AvoidSetjmpLongjmpCheck.h"
4041
#include "../modernize/AvoidVariadicFunctionsCheck.h"
4142
#include "../performance/MoveConstructorInitCheck.h"
4243
#include "../readability/EnumInitialValueCheck.h"
4344
#include "../readability/UppercaseLiteralSuffixCheck.h"
44-
#include "LimitedRandomnessCheck.h"
4545

4646
namespace {
4747

@@ -271,7 +271,7 @@ class CERTModule : public ClangTidyModule {
271271
.registerCheck<bugprone::DefaultOperatorNewOnOveralignedTypeCheck>(
272272
"cert-mem57-cpp");
273273
// MSC
274-
CheckFactories.registerCheck<LimitedRandomnessCheck>("cert-msc50-cpp");
274+
CheckFactories.registerCheck<misc::PredictableRandCheck>("cert-msc50-cpp");
275275
CheckFactories.registerCheck<bugprone::RandomGeneratorSeedCheck>(
276276
"cert-msc51-cpp");
277277
CheckFactories.registerCheck<bugprone::SignalHandlerCheck>(
@@ -324,7 +324,7 @@ class CERTModule : public ClangTidyModule {
324324
// MSC
325325
CheckFactories.registerCheck<bugprone::UnsafeFunctionsCheck>(
326326
"cert-msc24-c");
327-
CheckFactories.registerCheck<LimitedRandomnessCheck>("cert-msc30-c");
327+
CheckFactories.registerCheck<misc::PredictableRandCheck>("cert-msc30-c");
328328
CheckFactories.registerCheck<bugprone::RandomGeneratorSeedCheck>(
329329
"cert-msc32-c");
330330
CheckFactories.registerCheck<bugprone::UnsafeFunctionsCheck>(

0 commit comments

Comments
 (0)