[clang] [Clang][Sema] clang generates incorrect fix-its for API_AVAILABLE (PR #105855)
Ian Anderson via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 3 10:46:06 PDT 2024
================
@@ -1073,6 +1073,36 @@ static llvm::StringRef canonicalizePlatformName(llvm::StringRef Platform) {
.Case("ShaderModel", "shadermodel")
.Default(Platform);
}
+static std::vector<llvm::StringRef> equivalentPlatformNames(llvm::StringRef Platform) {
----------------
ian-twilightcoder wrote:
Oh whoops, I forgot to change that when I switched to a vector! I think it's probably best to keep this in the `.td` file
https://github.com/llvm/llvm-project/pull/105855
More information about the cfe-commits
mailing list