Skip to content

Commit 7aa5f6e

Browse files
author
z1_cciauto
authored
merge main into amd-staging (llvm#3640)
2 parents 7718c2d + 8ccb328 commit 7aa5f6e

File tree

319 files changed

+12016
-3597
lines changed

Some content is hidden

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

319 files changed

+12016
-3597
lines changed

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

Lines changed: 0 additions & 149 deletions
This file was deleted.

.github/workflows/llvm-project-workflow-tests.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/premerge.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ jobs:
6969
7070
./.ci/monolithic-linux.sh "${projects_to_build}" "${project_check_targets}" "${runtimes_to_build}" "${runtimes_check_targets}" "${runtimes_check_targets_needs_reconfig}" "${enable_cir}"
7171
- name: Upload Artifacts
72+
# In some cases, Github will fail to upload the artifact. We want to
73+
# continue anyways as a failed artifact upload is an infra failure, not
74+
# a checks failure.
75+
# https://github.com/actions/upload-artifact/issues/569
76+
continue-on-error: true
7277
if: '!cancelled()'
7378
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
7479
with:
@@ -114,6 +119,11 @@ jobs:
114119
# these environment variables.
115120
bash -c "export SCCACHE_GCS_BUCKET=$CACHE_GCS_BUCKET; export SCCACHE_GCS_RW_MODE=READ_WRITE; export SCCACHE_IDLE_TIMEOUT=0; sccache --start-server; .ci/monolithic-windows.sh \"${{ steps.vars.outputs.windows-projects }}\" \"${{ steps.vars.outputs.windows-check-targets }}\""
116121
- name: Upload Artifacts
122+
# In some cases, Github will fail to upload the artifact. We want to
123+
# continue anyways as a failed artifact upload is an infra failure, not
124+
# a checks failure.
125+
# https://github.com/actions/upload-artifact/issues/569
126+
continue-on-error: true
117127
if: '!cancelled()'
118128
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
119129
with:

clang-tools-extra/clang-tidy/add_new_check.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,9 @@ def write_header(
8989
+ check_name_camel.upper()
9090
+ "_H"
9191
)
92-
f.write("//===--- ")
93-
f.write(os.path.basename(filename))
94-
f.write(" - clang-tidy ")
95-
f.write("-" * max(0, 42 - len(os.path.basename(filename))))
96-
f.write("*- C++ -*-===//")
9792
f.write(
9893
"""
94+
//===----------------------------------------------------------------------===//
9995
//
10096
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
10197
// See https://llvm.org/LICENSE.txt for license information.
@@ -145,13 +141,9 @@ def write_implementation(
145141
filename = os.path.join(module_path, check_name_camel) + ".cpp"
146142
print("Creating %s..." % filename)
147143
with io.open(filename, "w", encoding="utf8", newline="\n") as f:
148-
f.write("//===--- ")
149-
f.write(os.path.basename(filename))
150-
f.write(" - clang-tidy ")
151-
f.write("-" * max(0, 51 - len(os.path.basename(filename))))
152-
f.write("-===//")
153144
f.write(
154145
"""
146+
//===----------------------------------------------------------------------===//
155147
//
156148
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
157149
// See https://llvm.org/LICENSE.txt for license information.

0 commit comments

Comments
 (0)