Merge pull request #12625 from mitaclaw/Wshadow-uncaptured-local CMakeLists: Add Clang's Specific WShadow Diagnostics