You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[NFC] [Support] Fix warning when build with clang-cl on Windows. (llvm#65387)
Add const qualifier to avoid warning "_cast from 'const char *' to 'char*' drops const qualifier [-Werror,-Wcast-qual]_"
This will allow enable LLVM_ENABLE_WERROR when build with clang-cl on Windows.
This is imported from openbsd/src@b817630
Also removed the gcc change for the cast-qual warning which is not needed with const qualifier added.
0 commit comments