Page MenuHomePhabricator

[CMake] Use #cmakedefine01 for CLANG_ENABLE_(ARCMT|OBJC_REWRITER|STATIC_ANALYZER)
ClosedPublic

Authored by chapuni on Jul 18 2017, 3:43 AM.

Details

Summary

It'd be better that they are #cmakedefine01 rather than #cmakedefine.
(#if FOO rather than #if defined(FOO))
Then we can find missing #include "clang/Config/config.h" in the future.

Diff Detail

Repository
rL LLVM

Event Timeline

chapuni created this revision.Jul 18 2017, 3:43 AM
This revision was automatically updated to reflect the committed changes.

How is this even reviewed?

@krasimir, I concluded it is trivial and committed it with the URL to close this.
Feel free to revert if you had any matters.