================
@@ -157,10 +157,12 @@ static bool ShouldDiagnoseAvailabilityInContext(
     }
   }
 
-  // In HLSL, emit diagnostic during parsing only if the diagnostic
-  // mode is set to strict (-fhlsl-strict-availability), and either the decl
-  // availability is not restricted to a specific environment/shader stage,
-  // or the target stage is known (= it is not shader library).
+  // In HLSL, skip emitting diagnostic is the diagnostic mode is not set to
----------------
damyanp wrote:

```suggestion
  // In HLSL, skip emitting diagnostic if the diagnostic mode is not set to
```

https://github.com/llvm/llvm-project/pull/93860
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to