Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
e17bc1e
[VPlan] Explicitly predicate some replicate region sinking tests. NFC…
lukel97 Nov 3, 2025
ef9ff15
[NFC][analyzer] Rewrite comment header of MallocChecker (#165443)
NagyDonat Nov 3, 2025
df1d786
[C2y] Support WG14 N3457, the __COUNTER__ macro (#162662)
AaronBallman Nov 3, 2025
ca19ab9
[NFCI][analyzer] invalidateRegions: require explicit State (#164434)
NagyDonat Nov 3, 2025
ab04989
[flang][OpenMP] Reorganize ALLOCATE-related semantic checks (#165719)
kparzysz Nov 3, 2025
a3c4fe2
[llvm] Undo change to constructor in OptSubCommand example
DavidSpickett Nov 3, 2025
6b8ca33
Revert "[lldb-dap] Use protocol types for exceptioninfo" (#166161)
DavidSpickett Nov 3, 2025
de2797c
[clang-tidy] Rename `cert-mem57-cpp` to `bugprone-default-operator-ne…
zeyi2 Nov 3, 2025
1667feb
[clang][tools] Update Python2 code in set-xcode-analyzer to Python3 (…
DavidSpickett Nov 3, 2025
2ea1edb
[gn build] Port de2797c888e0
llvmgnsyncbot Nov 3, 2025
ecc70fd
[llvm-lit] Add `sparc64` to the list of BE triple (#166113)
koachan Nov 3, 2025
8bd7fc7
[ExprMutation] fix false postives on pointer-to-member operator (#166…
HerrCai0907 Nov 3, 2025
795fa9e
Bound ISL operations during pre-vectorization (#165204)
ShikharjQUIC Nov 3, 2025
3d3fab1
[flang][OpenMP] Use OmpDirectiveSpecification in ALLOCATE (#165865)
kparzysz Nov 3, 2025
8395343
[X86] combineTruncate - trunc(srl(load(p),amt)) -> load(p+amt/8) - en…
RKSimon Nov 3, 2025
5256db3
[CI] Use action from FAILED: in ninja log parser
boomanaiden154 Nov 3, 2025
bf2f577
[Clang] Make the AS of llvm.compiler.used & llvm.used elements addrsp…
jmmartinez Nov 3, 2025
9c26170
[libc] Fix Linux kernel headers being included on all OS's
jhuber6 Nov 3, 2025
60e53d2
[PowerPC] Implement 32byte indexed paired ld and st instruction (#160…
lei137 Nov 3, 2025
8dcd02a
[Clang][Bytecode] Match exact void pointer deref error message (#166133)
tomershafir Nov 3, 2025
7c9f137
[ADT] Drop unused include in StringSwitch. NFC.
kuhar Nov 3, 2025
1c094a1
[TSan][Test-Only] Account for race in cxa_guard_acquire.cpp test (#16…
DanBlackwell Nov 3, 2025
332f9b5
[AMDGPU][UnifyDivergentExitNodes][StructurizeCFG] Add support for cal…
ro-i Nov 3, 2025
4f61863
[clang] Optimize SourceManager.getSpellingLocSlowCase and SourceManag…
SergejSalnikov Nov 3, 2025
5a11eea
[clang] Add sections to C++ DR status page (#165749)
Endilll Nov 3, 2025
bb9bd5f
[LoopUnroll] Fix assert fail on zeroed branch weights (#165938)
jdenny-ornl Nov 3, 2025
24c22b7
[flang][OpenMP] Sort and move macro-based clause checks to the end, N…
kparzysz Nov 3, 2025
47c54d5
[UBSan] Improve error message when a misalignment is due to target de…
gbMattN Nov 3, 2025
613c6de
[clang] Adjust TextDiagnostic style ranges for interesting source reg…
tbaederr Nov 3, 2025
28d3194
[libc++] Merge basic_string::__{replace,reset}_internal_buffer (#165404)
philnik777 Nov 3, 2025
3bd5963
[MLIR][SCF] Speed up ConditionPropagation (#166080)
wsmoses Nov 3, 2025
bf5332c
[flang][driver] Bring --gcc-triple to flang (#165886)
kwk Nov 3, 2025
7d56590
[SLP]Do not create copyable node, if parent node is non-schedulable a…
alexey-bataev Nov 3, 2025
5b7a5f7
[X86] Narrow BT/BTC/BTR/BTS compare + RMW patterns on very large inte…
RKSimon Nov 3, 2025
ce92582
[VPlan] Use operands() driectly in VPInstruction::clone() (NFC).
fhahn Nov 3, 2025
af68efc
Revert "[AMDGPU][UnifyDivergentExitNodes][StructurizeCFG] Add support…
ro-i Nov 3, 2025
25ed923
[ADT] Handle and document multiple matches in StringSwitch (#166177)
kuhar Nov 3, 2025
96cd0dd
[clang] Migrate away from a soft-deprecated constructor of APInt (NFC…
kazutakahirata Nov 3, 2025
2458e15
[mlir] Migrate away from a soft-deprecated constructor of APInt (NFC)…
kazutakahirata Nov 3, 2025
11c2923
[ADT] Use "using" instead of "typedef" (NFC) (#166129)
kazutakahirata Nov 3, 2025
5ed8f48
[Support] Use "using" instead of "typedef" (NFC) (#166130)
kazutakahirata Nov 3, 2025
bb14b83
[llvm] Proofread MIRLangRef.rst (#166131)
kazutakahirata Nov 3, 2025
645a9ed
[Github] Truncate Bug Emails when Necessary (#166081)
boomanaiden154 Nov 3, 2025
4cb8f97
[clang][RISCV] Add C intrinsics for XSfvfexp* and XSfvfexpa* (#165792)
mshockwave Nov 3, 2025
5f01699
Update [Github] Update GHA Dependencies (#166111)
renovate-bot Nov 3, 2025
97660c1
[BOLT] Issue error on unclaimed PC-relative relocation (#166098)
maksfb Nov 3, 2025
a85ecfa
[clang][NFC] Fix typos in clang release notes (#166064)
AmrDeveloper Nov 3, 2025
6a275de
Revert "[UBSan] Improve error message when a misalignment is due to t…
gbMattN Nov 3, 2025
513334f
[NFC][SPIRV] Fix function type recovery (#165934)
AlexVlx Nov 3, 2025
c4763e2
[profcheck][InstCombine] Preserve branch weights in logical identitie…
alanzhao1 Nov 3, 2025
e876540
[AMDGPU][GlobalISel] Add RegBankLegalize support for G_FENCE (#165939)
vangthao95 Nov 3, 2025
6747ea0
[CAS] Add UnifiedOnDiskCache and OnDiskCAS (#114103)
cachemeifyoucan Nov 3, 2025
10349ca
[gn build] Port 6747ea050dfc
llvmgnsyncbot Nov 3, 2025
e302a6b
merge main into amd-staging
ronlieb Nov 3, 2025
5054220
Revert "[Clang] Make the AS of llvm.compiler.used & llvm.used element…
ronlieb Nov 3, 2025
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
10 changes: 6 additions & 4 deletions .ci/generate_test_report_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,12 @@ def _parse_ninja_log(ninja_log: list[str]) -> list[tuple[str, str]]:
# touch test/4.stamp
#
# index will point to the line that starts with Failed:. The progress
# indicator is the line before this ([4/5] test/4.stamp) and contains a pretty
# printed version of the target being built (test/4.stamp). We use this line
# and remove the progress information to get a succinct name for the target.
failing_action = ninja_log[index - 1].split("] ")[1]
# indicator is sometimes the line before this ([4/5] test/4.stamp) and
# will contain a pretty printed version of the target being built
# (test/4.stamp) when accurate. We instead parse the failed line rather
# than the progress indicator as the progress indicator may not be
# aligned with the failure.
failing_action = ninja_log[index].split("FAILED: ")[1]
failure_log = []
while (
index < len(ninja_log)
Expand Down
42 changes: 35 additions & 7 deletions .ci/generate_test_report_lib_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def test_find_failure_ninja_logs(self):
self.assertEqual(
failures[0],
(
"test/4.stamp",
"touch test/4.stamp",
dedent(
"""\
FAILED: touch test/4.stamp
Expand Down Expand Up @@ -77,7 +77,7 @@ def test_ninja_log_end(self):
self.assertEqual(
failures[0],
(
"test/3.stamp",
"touch test/3.stamp",
dedent(
"""\
FAILED: touch test/3.stamp
Expand Down Expand Up @@ -106,7 +106,7 @@ def test_ninja_log_multiple_failures(self):
self.assertEqual(
failures[0],
(
"test/2.stamp",
"touch test/2.stamp",
dedent(
"""\
FAILED: touch test/2.stamp
Expand All @@ -117,7 +117,7 @@ def test_ninja_log_multiple_failures(self):
self.assertEqual(
failures[1],
(
"test/4.stamp",
"touch test/4.stamp",
dedent(
"""\
FAILED: touch test/4.stamp
Expand Down Expand Up @@ -150,7 +150,7 @@ def test_ninja_log_runtimes_failure(self):
self.assertEqual(
failures[0],
(
"test/2.stamp",
"touch test/2.stamp",
dedent(
"""\
FAILED: touch test/2.stamp
Expand All @@ -159,6 +159,34 @@ def test_ninja_log_runtimes_failure(self):
),
)

# Test that we correctly handle cases where the FAILED: line does not
# match up with the progress indicator.
def test_ninja_log_mismatched_failed(self):
failures = generate_test_report_lib.find_failure_in_ninja_logs(
[
[
"[1/5] test/1.stamp",
"[2/5] test/2.stamp",
"ModuleNotFoundError: No module named 'mount_langley'",
"FAILED: tools/check-langley",
"Wow! This system is really broken!",
"[5/5] test/5.stamp",
]
]
)
self.assertEqual(len(failures), 1)
self.assertEqual(
failures[0],
(
"tools/check-langley",
dedent(
"""\
FAILED: tools/check-langley
Wow! This system is really broken!"""
),
),
)

def test_title_only(self):
self.assertEqual(
generate_test_report_lib.generate_report("Foo", 0, [], []),
Expand Down Expand Up @@ -448,15 +476,15 @@ def test_no_failures_multiple_build_failed_ninja_log(self):
All tests passed but another part of the build **failed**. Click on a failure below to see the details.

<details>
<summary>test/2.stamp</summary>
<summary>touch test/2.stamp</summary>

```
FAILED: touch test/2.stamp
Wow! Be Kind!
```
</details>
<details>
<summary>test/4.stamp</summary>
<summary>touch test/4.stamp</summary>

```
FAILED: touch test/4.stamp
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-ci-container-tooling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
podman save ${{ steps.vars.outputs.container-name-lint-tag }} > ${{ steps.vars.outputs.container-lint-filename }}

- name: Upload container image
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: container-amd64
path: "*.tar"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: 3.13
python-version: 3.14
cache: 'pip'
- name: Install Python Dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
- name: Setup Python env
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: '3.13'
python-version: '3.14'
cache: 'pip'
cache-dependency-path: 'llvm/docs/requirements-hashed.txt'
- name: Install python dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gha-codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
sparse-checkout: |
.github/
- name: Initialize CodeQL
uses: github/codeql-action/init@303c0aef88fc2fe5ff6d63d3b1596bfd83dfa1f9 # v3.30.4
uses: github/codeql-action/init@5d5cd550d3e189c569da8f16ea8de2d821c9bf7a # v3.31.2
with:
languages: actions
queries: security-extended
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@303c0aef88fc2fe5ff6d63d3b1596bfd83dfa1f9 # v3.30.4
uses: github/codeql-action/analyze@5d5cd550d3e189c569da8f16ea8de2d821c9bf7a # v3.31.2
2 changes: 1 addition & 1 deletion .github/workflows/hlsl-test-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
ninja check-hlsl-unit
ninja ${{ inputs.TestTarget }}
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action/macos@3a74b2957438d0b6e2e61d67b05318aa25c9e6c6 # v2.20.0
uses: EnricoMi/publish-unit-test-result-action/macos@34d7c956a59aed1bfebf31df77b8de55db9bbaaf # v2.21.0
if: always() && runner.os == 'macOS'
with:
comment_mode: off
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/libcxx-build-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
TAG: ${{ github.sha }}

- name: Log in to GitHub Container Registry
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/libcxx-run-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
steps:
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: '3.13'
python-version: '3.14'

- name: Extract information from the PR
id: vars
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/llvm-bugs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ jobs:
repo: context.repo.repo
})
.then((issue) => {
var maybeTruncatedBody = issue.data.body;
if (maybeTruncatedBody.length > 15000) {
maybeTruncatedBody = maybeTruncatedBody.substring(0,
15000) +
"<truncated>Please see the issue for the entire body."
}
const payload = {
author : issue.data.user.login,
issue : issue.data.number,
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
# due to https://github.com/actions/runner-images/issues/10385
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: '3.13'
python-version: '3.14'

- name: Checkout LLVM
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:
ref: ${{ needs.prepare.outputs.ref }}

- name: Install Ninja
uses: llvm/actions/install-ninja@a1ea791b03c8e61f53a0e66f2f73db283aa0f01e # main
uses: llvm/actions/install-ninja@42d80571b13f4599bbefbc7189728b64723c7f78 # main

- name: Setup Windows
if: startsWith(runner.os, 'Windows')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # v2.4.2
uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
with:
results_file: results.sarif
results_format: sarif
Expand Down
18 changes: 11 additions & 7 deletions bolt/lib/Core/BinaryContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -778,13 +778,17 @@ void BinaryContext::populateJumpTables() {
}

if (opts::StrictMode && DataPCRelocations.size()) {
LLVM_DEBUG({
dbgs() << DataPCRelocations.size()
<< " unclaimed PC-relative relocations left in data:\n";
for (uint64_t Reloc : DataPCRelocations)
dbgs() << Twine::utohexstr(Reloc) << '\n';
});
assert(0 && "unclaimed PC-relative relocations left in data\n");
this->errs() << "BOLT-ERROR: " << DataPCRelocations.size()
<< " unclaimed PC-relative relocation(s) left in data";
if (opts::Verbosity) {
this->errs() << ":\n";
for (uint64_t RelocOffset : DataPCRelocations)
this->errs() << " @0x" << Twine::utohexstr(RelocOffset) << '\n';
} else {
this->errs() << ". Re-run with -v=1 to see the list\n";
}
this->errs() << "BOLT-ERROR: unable to proceed with --strict\n";
exit(1);
}
clearList(DataPCRelocations);
}
Expand Down
24 changes: 24 additions & 0 deletions bolt/test/X86/unclaimed-pc-rel.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## Check that unclaimed PC-relative relocation from data to code is detected
## and reported to the user.

# REQUIRES: system-linux

# RUN: %clang %cflags -no-pie %s -o %t.exe -Wl,-q -nostartfiles
# RUN: not llvm-bolt %t.exe -o %t.bolt --strict 2>&1 | FileCheck %s

# CHECK: BOLT-ERROR: 1 unclaimed PC-relative relocation(s) left in data

.text
.globl _start
.type _start, %function
_start:
movl $42, %eax
.L0:
ret
.size _start, .-_start

## Force relocation mode.
.reloc 0, R_X86_64_NONE

.section .rodata
.long .L0-.
3 changes: 3 additions & 0 deletions clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include "CopyConstructorInitCheck.h"
#include "CrtpConstructorAccessibilityCheck.h"
#include "DanglingHandleCheck.h"
#include "DefaultOperatorNewOnOveralignedTypeCheck.h"
#include "DerivedMethodShadowingBaseMethodCheck.h"
#include "DynamicStaticInitializersCheck.h"
#include "EasilySwappableParametersCheck.h"
Expand Down Expand Up @@ -140,6 +141,8 @@ class BugproneModule : public ClangTidyModule {
"bugprone-copy-constructor-init");
CheckFactories.registerCheck<DanglingHandleCheck>(
"bugprone-dangling-handle");
CheckFactories.registerCheck<DefaultOperatorNewOnOveralignedTypeCheck>(
"bugprone-default-operator-new-on-overaligned-type");
CheckFactories.registerCheck<DerivedMethodShadowingBaseMethodCheck>(
"bugprone-derived-method-shadowing-base-method");
CheckFactories.registerCheck<DynamicStaticInitializersCheck>(
Expand Down
1 change: 1 addition & 0 deletions clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ add_clang_library(clangTidyBugproneModule STATIC
CopyConstructorInitCheck.cpp
CrtpConstructorAccessibilityCheck.cpp
DanglingHandleCheck.cpp
DefaultOperatorNewOnOveralignedTypeCheck.cpp
DerivedMethodShadowingBaseMethodCheck.cpp
DynamicStaticInitializersCheck.cpp
EasilySwappableParametersCheck.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,22 @@
//
//===----------------------------------------------------------------------===//

#include "DefaultOperatorNewAlignmentCheck.h"
#include "DefaultOperatorNewOnOveralignedTypeCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Basic/TargetInfo.h"

using namespace clang::ast_matchers;

namespace clang::tidy::cert {
namespace clang::tidy::bugprone {

void DefaultOperatorNewAlignmentCheck::registerMatchers(MatchFinder *Finder) {
void DefaultOperatorNewOnOveralignedTypeCheck::registerMatchers(
MatchFinder *Finder) {
Finder->addMatcher(
cxxNewExpr(unless(hasAnyPlacementArg(anything()))).bind("new"), this);
}

void DefaultOperatorNewAlignmentCheck::check(
void DefaultOperatorNewOnOveralignedTypeCheck::check(
const MatchFinder::MatchResult &Result) {
// Get the found 'new' expression.
const auto *NewExpr = Result.Nodes.getNodeAs<CXXNewExpr>("new");
Expand Down Expand Up @@ -61,4 +62,4 @@ void DefaultOperatorNewAlignmentCheck::check(
<< (SpecifiedAlignment / CharWidth);
}

} // namespace clang::tidy::cert
} // namespace clang::tidy::bugprone
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,22 @@
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CERT_DEFAULTOPERATORNEWALIGNMENTCHECK_H
#define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CERT_DEFAULTOPERATORNEWALIGNMENTCHECK_H
#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_BUGPRONE_DEFAULTOPERATORNEWONOVERALIGNEDTYPECHECK_H
#define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_BUGPRONE_DEFAULTOPERATORNEWONOVERALIGNEDTYPECHECK_H

#include "../ClangTidyCheck.h"

namespace clang::tidy::cert {
namespace clang::tidy::bugprone {

/// Checks if an object of type with extended alignment is allocated by using
/// the default operator new.
///
/// For the user-facing documentation see:
/// https://clang.llvm.org/extra/clang-tidy/checks/cert/mem57-cpp.html
class DefaultOperatorNewAlignmentCheck : public ClangTidyCheck {
/// https://clang.llvm.org/extra/clang-tidy/checks/bugprone/bugprone-default-operator-new-on-overaligned-type.html
class DefaultOperatorNewOnOveralignedTypeCheck : public ClangTidyCheck {
public:
DefaultOperatorNewAlignmentCheck(StringRef Name, ClangTidyContext *Context)
DefaultOperatorNewOnOveralignedTypeCheck(StringRef Name,
ClangTidyContext *Context)
: ClangTidyCheck(Name, Context) {}
bool isLanguageVersionSupported(const LangOptions &LangOpts) const override {
return !LangOpts.CPlusPlus17;
Expand All @@ -29,6 +30,6 @@ class DefaultOperatorNewAlignmentCheck : public ClangTidyCheck {
void check(const ast_matchers::MatchFinder::MatchResult &Result) override;
};

} // namespace clang::tidy::cert
} // namespace clang::tidy::bugprone

#endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CERT_DEFAULTOPERATORNEWALIGNMENTCHECK_H
#endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_BUGPRONE_DEFAULTOPERATORNEWONOVERALIGNEDTYPECHECK_H
7 changes: 4 additions & 3 deletions clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "../ClangTidyModuleRegistry.h"
#include "../bugprone/BadSignalToKillThreadCheck.h"
#include "../bugprone/CommandProcessorCheck.h"
#include "../bugprone/DefaultOperatorNewOnOveralignedTypeCheck.h"
#include "../bugprone/PointerArithmeticOnPolymorphicObjectCheck.h"
#include "../bugprone/RawMemoryCallOnNonTrivialTypeCheck.h"
#include "../bugprone/ReservedIdentifierCheck.h"
Expand All @@ -35,7 +36,6 @@
#include "../performance/MoveConstructorInitCheck.h"
#include "../readability/EnumInitialValueCheck.h"
#include "../readability/UppercaseLiteralSuffixCheck.h"
#include "DefaultOperatorNewAlignmentCheck.h"
#include "DontModifyStdNamespaceCheck.h"
#include "FloatLoopCounter.h"
#include "LimitedRandomnessCheck.h"
Expand Down Expand Up @@ -265,8 +265,9 @@ class CERTModule : public ClangTidyModule {
CheckFactories.registerCheck<misc::ThrowByValueCatchByReferenceCheck>(
"cert-err61-cpp");
// MEM
CheckFactories.registerCheck<DefaultOperatorNewAlignmentCheck>(
"cert-mem57-cpp");
CheckFactories
.registerCheck<bugprone::DefaultOperatorNewOnOveralignedTypeCheck>(
"cert-mem57-cpp");
// MSC
CheckFactories.registerCheck<LimitedRandomnessCheck>("cert-msc50-cpp");
CheckFactories.registerCheck<ProperlySeededRandomGeneratorCheck>(
Expand Down
Loading