thakis@, what do you think about adding COMPILER_CLANG to build/build_config.h?
third_party/WebKit/Source/platform/wtf/Compiler.h has WTF_COMPILER_CLANG/MSVC/GCC. bulid_config.h has only COMPILER_GCC/MSVC.
I don't think we need to add it. We've made it for years without it, so I don't think it should be necessary. Most of the time if you check for gcc and msvc in the right way (clang can identify itself as either, depending on which platform it targets) you won't need an explicit clang check. And if you do, you can check for __clang__.
Comment 1 by tkent@chromium.org
, Jun 30 2017Components: Blink>Internals>WTF
Labels: Needs-Feedback