Commit 3e2ed570 authored by Piotr Zegar's avatar Piotr Zegar
Browse files

[clang-tidy] Exclude class/struct scope variables from...

[clang-tidy] Exclude class/struct scope variables from cppcoreguidelines-avoid-non-const-global-variables

Ignore static variables declared within the scope of class/struct.
Those variables should be covered by I.3 rule.

Fixes: #47384

Reviewed By: carlosgalvezp

Differential Revision: https://reviews.llvm.org/D157180
parent ee2b765c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment