Sockke ce6de98b80 [clang-tidy] Fix cppcoreguidelines-init-variables for invalid vardecl
https://godbolt.org/z/n4cK4fo3o
The checker missed a check for invalid vardecl and this could cause a false positive.

Reviewed By: carlosgalvezp

Differential Revision: https://reviews.llvm.org/D138655
2023-02-07 19:34:54 +08:00
..