You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change replaces DE_NULL and (X *)DE_NULL with nullptr with the
following sed command:
git ls-files | grep -v -e framework/delibs/debase/deDefs.h \
-e framework/delibs/debase/deDefs_kc_cts.h \
| xargs -P 8 -d '\n' sed -b -i 's|\<DE_NULL\>|nullptr|g;
s|([^()]*)nullptr|nullptr|g'
The definition of DE_NULL in framework/delibs/debase/deDefs.h is kept
for now to avoid unnecessary pain when DE_NULL is reintroduced by
merges from branches. Eventually this should be deleted with new
branches being based on this change and DE_NULL not getting copy-pasted
around all the time.
Exceptions:
* In modules/gles31/functional/es31fShaderImageLoadStoreTests.cpp, the
casts of nullptr are retained due to a limitation with ?: and
inherited types.
* In
external/vulkancts/modules/vulkan/compute/vktComputeCooperativeMatrixTests.cpp,
there is a cast of nullptr to resolve a function overload.
* In
external/vulkancts/modules/vulkan/shaderrender/vktShaderRenderTextureFunctionTests.cpp
and
external/vulkancts/modules/vulkan/shaderrender/vktShaderRenderDerivateTests.cpp,
there is a cast of nullptr to resolve a constructor overload.
* In external/vulkancts/modules/vulkan/util/vktExternalMemoryUtil.cpp,
there is a cast to vk::pt::Win32LPCWSTR.
Components: Framework, Vulkan, OpenGL
VK-GL-CTS issue: 4652
Change-Id: Ia9f3ccc251b0dbf51ccd40f267cec144d4efca7a
0 commit comments