OSDN Git Service

Fix misc-macro-parentheses warnings in goldfish/opengl.
authorChih-Hung Hsieh <chh@google.com>
Thu, 9 Jun 2016 21:02:30 +0000 (14:02 -0700)
committerChih-Hung Hsieh <chh@google.com>
Thu, 30 Jun 2016 23:13:54 +0000 (16:13 -0700)
commit7e145808ae3a1b17c0ce4baf06199153ff4e9e9b
treef9cb7d1d893dba5ca9da5c089252dc21150fa979
parent36a3dee4834b5bebee1685c232794217eaf5436e
Fix misc-macro-parentheses warnings in goldfish/opengl.

Add parentheses around macro arguments used beside operators.
Use NOLINT to suppress warning or clang-tidy can put parentheses at
wrong places.

Bug: 28705665
Change-Id: I40653d3e617f84c07b308bb9c2869219f6563706
Test: build with clang-tidy
camera/Converters.h
camera/EmulatedFakeCamera2.cpp
opengl/system/OpenglSystemCommon/HostConnection.cpp
opengl/system/egl/ClientAPIExts.cpp
opengl/system/egl/egl.cpp
opengl/system/egl/eglDisplay.h