================ @@ -140,6 +140,11 @@ def SharedVar : SubsetSubject<Var, [{S->hasGlobalStorage() && !S->getTLSKind()}], "global variables">; +def HLSLInputBuiltin : SubsetSubject<Var, [{S->hasGlobalStorage() && + S->getStorageClass()==StorageClass::SC_Static && + S->getType().isConstQualified()}], + "static const globals">; ---------------- Keenuts wrote:
Ah didn't checked, I always run `git-clang-format` and call it a day! Thanks, applied the suggestion https://github.com/llvm/llvm-project/pull/138530 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits