[all-commits] [llvm/llvm-project] 4e2742: [clang-tidy] Fix a crash in bugprone-std-namespace...
Zeyi Xu via All-commits
all-commits at lists.llvm.org
Sat Aug 8 05:17:18 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4e274280c33edd820ab04d469d9edc1f9239d567
https://github.com/llvm/llvm-project/commit/4e274280c33edd820ab04d469d9edc1f9239d567
Author: Zeyi Xu <mitchell.xu2 at gmail.com>
Date: 2026-08-08 (Sat, 08 Aug 2026)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/StdNamespaceModificationCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.md
A clang-tools-extra/test/clang-tidy/checkers/bugprone/std-namespace-modification-no-crash.cpp
Log Message:
-----------
[clang-tidy] Fix a crash in bugprone-std-namespace-modification (#214704)
Check the namespaces of template argument types directly from their
declarations. This avoids querying the AST parent map (since it may not
contain lambda closure types) and fixes the crash.
Fixes #213981
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list