Skip to content

Commit 1729afa

Browse files
authored
Merge branch 'main' into wcspbrk
2 parents 7dd7eda + 1651aa2 commit 1729afa

File tree

592 files changed

+17589
-7842
lines changed

Some content is hidden

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

592 files changed

+17589
-7842
lines changed

.ci/metrics/metrics.py

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -349,19 +349,7 @@ def github_get_metrics(
349349
running_count[metric_name] += 1
350350
continue
351351

352-
job_result = int(job.conclusion == "success")
353-
if job_result:
354-
# We still might want to mark the job as a failure if one of the steps
355-
# failed. This is required due to use setting continue-on-error in
356-
# the premerge pipeline to prevent sending emails while we are
357-
# testing the infrastructure.
358-
# TODO(boomanaiden154): Remove this once the premerge pipeline is no
359-
# longer in a testing state and we can directly assert the workflow
360-
# result.
361-
for step in job.steps:
362-
if step.conclusion != "success" and step.conclusion != "skipped":
363-
job_result = 0
364-
break
352+
job_result = int(job.conclusion == "success" or job.conclusion == "skipped")
365353

366354
created_at = job.created_at
367355
started_at = job.started_at

.ci/monolithic-linux.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ function at-exit {
3838

3939
ccache --print-stats > artifacts/ccache_stats.txt
4040
cp "${BUILD_DIR}"/.ninja_log artifacts/.ninja_log
41+
cp "${BUILD_DIR}"/test-results.*.xml artifacts/
4142

4243
# If building fails there will be no results files.
4344
shopt -s nullglob

.ci/monolithic-windows.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ function at-exit {
3333
mkdir -p artifacts
3434
sccache --show-stats >> artifacts/sccache_stats.txt
3535
cp "${BUILD_DIR}"/.ninja_log artifacts/.ninja_log
36+
cp "${BUILD_DIR}"/test-results.*.xml artifacts/
3637

3738
# If building fails there will be no results files.
3839
shopt -s nullglob

.github/workflows/libcxx-build-and-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ jobs:
184184
**/crash_diagnostics/*
185185
186186
macos:
187-
needs: [ stage3 ]
187+
needs: [ stage2 ]
188188
strategy:
189189
fail-fast: false
190190
matrix:

bolt/Maintainers.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ N: Vladislav Khmelevsky
2020
2121
D: AArch64 backend
2222

23+
N: Paschalis Mpeis
24+
25+
D: AArch64 backend
26+
2327
N: Job Noorman
2428
2529
D: RISC-V backend

clang-tools-extra/clang-doc/Serialize.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ getFunctionPrototype(const FunctionDecl *FuncDecl) {
113113
Stream << " " << ParamDecl->getNameAsString();
114114

115115
// Print default argument if it exists
116-
if (ParamDecl->hasDefaultArg()) {
117-
const Expr *DefaultArg = ParamDecl->getDefaultArg();
118-
if (DefaultArg) {
116+
if (ParamDecl->hasDefaultArg() &&
117+
!ParamDecl->hasUninstantiatedDefaultArg()) {
118+
if (const Expr *DefaultArg = ParamDecl->getDefaultArg()) {
119119
Stream << " = ";
120120
DefaultArg->printPretty(Stream, nullptr, Ctx.getPrintingPolicy());
121121
}

clang-tools-extra/test/clang-doc/conversion_function.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// RUN: find %t/ -regex ".*/[0-9A-F]*.yaml" -exec cat {} ";" | FileCheck %s --check-prefix=CHECK-YAML
55

66
// RUN: clang-doc --format=html --output=%t --executor=standalone %s
7-
// FileCheck %s --check-prefix=CHECK-HTML
7+
// RUN: FileCheck %s < %t/GlobalNamespace/MyStruct.html --check-prefix=CHECK-HTML
88

99
template <typename T>
1010
struct MyStruct {
@@ -14,5 +14,5 @@ struct MyStruct {
1414
// Output correct conversion names.
1515
// CHECK-YAML: Name: 'operator T'
1616

17-
// CHECK-HTML: <h3 id='{{[0-9A-F]*}}'>operator T</h3>
17+
// CHECK-HTML: <h3 id="{{[0-9A-F]*}}">operator T</h3>
1818
// CHECK-HTML: <p>public T operator T()</p>

clang/cmake/caches/Apple-stage1.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ set(COMPILER_RT_INCLUDE_TESTS OFF CACHE BOOL "")
1818
set(COMPILER_RT_BUILD_SANITIZERS OFF CACHE BOOL "")
1919
set(CMAKE_MACOSX_RPATH ON CACHE BOOL "")
2020
set(LLVM_ENABLE_ZLIB OFF CACHE BOOL "")
21-
set(LLVM_ENABLE_BACKTRACES OFF CACHE BOOL "")
21+
set(LLVM_ENABLE_BACKTRACES ON CACHE BOOL "")
2222
set(CLANG_PLUGIN_SUPPORT OFF CACHE BOOL "")
2323
set(CLANG_SPAWN_CC1 ON CACHE BOOL "")
2424
set(CLANG_BOOTSTRAP_PASSTHROUGH

clang/docs/ReleaseNotes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,7 @@ Miscellaneous Clang Crashes Fixed
821821
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
822822

823823
- Fixed crash when ``-print-stats`` is enabled in compiling IR files. (#GH131608)
824+
- Fix code completion crash involving PCH serialzied templates. (#GH139019)
824825

825826
OpenACC Specific Changes
826827
------------------------

clang/docs/SanitizerSpecialCaseList.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ tool-specific docs.
156156

157157
.. code-block:: bash
158158
159-
# The line above is explained in the note above
160159
# Lines starting with # are ignored.
161160
# Turn off checks for the source file
162161
# Entries without sections are placed into [*] and apply to all sanitizers

0 commit comments

Comments
 (0)