[clang] [HLSL] Strict Availability Diagnostics (PR #93860)

Helena Kotas via cfe-commits cfe-commits at lists.llvm.org
Thu May 30 11:54:38 PDT 2024


================
@@ -1060,11 +1060,6 @@ static llvm::StringRef canonicalizePlatformName(llvm::StringRef Platform) {
              .Case("ShaderModel", "shadermodel")
              .Default(Platform);
 }
-static llvm::StringRef getPrettyEnviromentName(llvm::Triple::EnvironmentType EnvironmentType) {
----------------
hekota wrote:

This is no longer necessary, we can use `llvm::Triple::getEnvironmentTypeName()` instead.

https://github.com/llvm/llvm-project/pull/93860


More information about the cfe-commits mailing list