OSDN Git Service

[cherry-pick] 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)
committerYahan Zhou <yahan@google.com>
Mon, 18 Jul 2016 17:36:36 +0000 (17:36 +0000)
commit841198840d5b32507b93f29ff13f9bf6a72de324
tree906f514460d6e8544cd475688e4f760dec9af204
parent727585ab633c10985c676e0e4805fcfa504c5e61
[cherry-pick] 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

cherry-pick from https://android-review.googlesource.com/#/c/237790/
Change-Id: I40653d3e617f84c07b308bb9c2869219f6563706
Test: build with clang-tidy
system/OpenglSystemCommon/HostConnection.cpp
system/egl/ClientAPIExts.cpp
system/egl/egl.cpp
system/egl/eglDisplay.h