================
@@ -0,0 +1,46 @@
+// RUN: %clang_cc1 -std=hlsl202x -finclude-default-header \
+// RUN:   -triple dxil-pc-shadermodel6.6-library %s -fsyntax-only -verify \
+// RUN:   -verify-ignore-unexpected=note,warning
+
+// Unlike the other interlocked methods, InterlockedExchange declares a single
+// overload per element type because the original value is required. There is
+// therefore no overload set to fail against, so Clang reports the argument
+// mismatch directly instead of 'no matching member function'.
----------------
hekota wrote:

Suggestion - remove this comment. No need to compare this test to the other 
ones.

https://github.com/llvm/llvm-project/pull/222161
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to