[clang] [llvm] [HLSL] AST support for WaveSize attribute. (PR #101240)

Xiang Li via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 31 07:49:01 PDT 2024


================
@@ -245,6 +274,18 @@ void SemaHLSL::CheckEntryPoint(FunctionDecl *FD) {
           << llvm::Triple::getEnvironmentTypeName(ST);
       FD->setInvalidDecl();
     }
+    if (const auto *NT = FD->getAttr<HLSLWaveSizeAttr>()) {
----------------
python3kgae wrote:

Renamed.

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


More information about the cfe-commits mailing list