mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 14:06:10 +00:00

Fix error llvm\clang\tools\amdgpu-arch\AMDGPUArchByHIP.cpp(102,29): error: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always false [-Werror,-Wtautological-constant-out-of-range-compare] 102 | StringRef VerStr = (Pos == StringRef::npos) ? S : S.substr(Pos + 1);