Refactor FOLLY_GCC_DISABLE_WARNING to play nice with clang-format v2017.04.10.00
authorChristopher Dykes <cdykes@fb.com>
Mon, 10 Apr 2017 01:02:53 +0000 (18:02 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 10 Apr 2017 01:06:42 +0000 (18:06 -0700)
commite15da103f6c9008fd51886c033e1a732b4c1d750
tree6c46c8f55bad17f3d48681ef9ef6c302b4572600
parent1f52e58c784503913dfb915d389cbd3ee1a3e005
Refactor FOLLY_GCC_DISABLE_WARNING to play nice with clang-format

Summary: Currently clang-format cannot be run on any file using the macro because it breaks it. By putting the warning name in a string clang-format no longer breaks it.

Reviewed By: yfeldblum

Differential Revision: D4856945

fbshipit-source-id: ebd2d223dd97f66224e9e2912610057e36287dae
folly/Portability.h
folly/Synchronized.h
folly/Traits.h
folly/io/async/AsyncSocket.cpp
folly/test/SingletonBenchmark.cpp
folly/test/SingletonTest.cpp
folly/test/SubprocessTest.cpp