Fix misc-macro-parentheses warnings in deqp.
authorChih-Hung Hsieh <chh@google.com>
Thu, 9 Jun 2016 00:45:40 +0000 (17:45 -0700)
committerChih-Hung Hsieh <chh@google.com>
Mon, 1 Aug 2016 18:02:05 +0000 (11:02 -0700)
commitdc795cd4f3d064cbbe2bf9899bf2088d206b7434
tree6f00b9389a8a4ced2d4811eb4b11ad28e7d4be33
parent8b0f318ec6cdec8e3c0cf68e16cb81bb955358a2
Fix misc-macro-parentheses warnings in deqp.

* Add parentheses around macro parameters beside binary operators.
* Add NOLINT to suppress wrong clang-tidy warnings.

Bug: 28705665
Change-Id: I8cab8cf2df6edb50806d9fd2324dfea31b127916
51 files changed:
external/vulkancts/framework/vulkan/vkNullDriver.cpp
external/vulkancts/modules/vulkan/pipeline/vktPipelineImageViewTests.cpp
external/vulkancts/modules/vulkan/shaderexecutor/vktShaderBuiltinPrecisionTests.cpp
external/vulkancts/modules/vulkan/shaderrender/vktShaderRenderStructTests.cpp
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp
framework/common/tcuInterval.hpp
framework/delibs/debase/deDefs.h
framework/delibs/depool/dePoolArray.h
framework/delibs/depool/dePoolHash.h
framework/delibs/depool/dePoolHashArray.h
framework/delibs/depool/dePoolHashSet.h
framework/delibs/depool/dePoolHeap.h
framework/delibs/depool/dePoolMultiSet.h
framework/delibs/depool/dePoolSet.h
framework/delibs/deutil/deSocket.c
modules/egl/teglApiCase.hpp
modules/egl/teglImageTests.cpp
modules/gles2/accuracy/es2aTextureFilteringTests.cpp
modules/gles2/functional/es2fApiCase.hpp
modules/gles2/functional/es2fBooleanStateQueryTests.cpp
modules/gles2/functional/es2fBufferObjectQueryTests.cpp
modules/gles2/functional/es2fDefaultVertexAttributeTests.cpp
modules/gles2/functional/es2fFloatStateQueryTests.cpp
modules/gles2/functional/es2fIntegerStateQueryTests.cpp
modules/gles2/functional/es2fShaderAlgorithmTests.cpp
modules/gles2/functional/es2fShaderStructTests.cpp
modules/gles2/functional/es2fTextureFilteringTests.cpp
modules/gles2/functional/es2fTextureStateQueryTests.cpp
modules/gles2/functional/es2fTextureWrapTests.cpp
modules/gles2/functional/es2fUniformApiTests.cpp
modules/gles2/functional/es2fVertexTextureTests.cpp
modules/gles2/performance/es2pTextureUploadTests.cpp
modules/gles3/accuracy/es3aTextureFilteringTests.cpp
modules/gles3/functional/es3fApiCase.hpp
modules/gles3/functional/es3fBooleanStateQueryTests.cpp
modules/gles3/functional/es3fBufferObjectQueryTests.cpp
modules/gles3/functional/es3fDefaultVertexAttributeTests.cpp
modules/gles3/functional/es3fFloatStateQueryTests.cpp
modules/gles3/functional/es3fInteger64StateQueryTests.cpp
modules/gles3/functional/es3fIntegerStateQueryTests.cpp
modules/gles3/functional/es3fSamplerStateQueryTests.cpp
modules/gles3/functional/es3fShaderStructTests.cpp
modules/gles3/functional/es3fTextureStateQueryTests.cpp
modules/gles3/functional/es3fTextureWrapTests.cpp
modules/gles3/functional/es3fUniformApiTests.cpp
modules/gles3/functional/es3fVertexTextureTests.cpp
modules/gles31/functional/es31fBooleanStateQueryTests.cpp
modules/gles31/functional/es31fSamplerStateQueryTests.cpp
modules/gles31/functional/es31fTextureStateQueryTests.cpp
modules/glshared/glsBuiltinPrecisionTests.cpp
modules/glshared/glsTextureStateQueryTests.cpp