[all-commits] [llvm/llvm-project] c13b74: [clang] Avoid -Wshadow warning when init-capture n...
Mariya Podchishchaeva via All-commits
all-commits at lists.llvm.org
Tue Apr 2 15:20:05 PDT 2024
Branch: refs/heads/release/18.x
Home: https://github.com/llvm/llvm-project
Commit: c13b7485b87909fcf739f62cfa382b55407433c0
https://github.com/llvm/llvm-project/commit/c13b7485b87909fcf739f62cfa382b55407433c0
Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Sema/ScopeInfo.h
M clang/lib/Sema/SemaDecl.cpp
M clang/test/SemaCXX/warn-shadow-in-lambdas.cpp
Log Message:
-----------
[clang] Avoid -Wshadow warning when init-capture named same as class field (#74512)
Shadowing warning doesn't make much sense since field is not available
in lambda's body without capturing this.
Fixes https://github.com/llvm/llvm-project/issues/71976
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