We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 434ad03 commit 1f9120cCopy full SHA for 1f9120c
sycl/include/sycl/detail/common.hpp
@@ -135,9 +135,11 @@ class __SYCL_EXPORT tls_code_loc_t {
135
/// @param CodeLoc The code location information to set up the TLS slot with.
136
tls_code_loc_t(const detail::code_location &CodeLoc);
137
138
- // TODO: delete copy constructor and copy assignment operator during next
139
- // ABI breaking window
+#ifdef __INTEL_PREVIEW_BREAKING_CHANGES
140
// Used to maintain global state (GCodeLocTLS), so we do not want to copy
+ tls_code_loc_t(const tls_code_loc_t &) = delete;
141
+ tls_code_loc_t &operator=(const tls_code_loc_t &) = delete;
142
+#endif // __INTEL_PREVIEW_BREAKING_CHANGES
143
144
/// If the code location is set up by this instance, reset it.
145
~tls_code_loc_t();
0 commit comments