This is an archive of the discontinued LLVM Phabricator instance.

[gn build] Fix cosmetic bug in write_cmake_config.py
ClosedPublic

Authored by thakis on Dec 1 2018, 7:08 PM.

Details

Summary

Before,#cmakedefine FOO resulted in #define FOO with a trailing space if FOO was set to something truthy. Make it so that it's just #define FOO without a trailing space.

No functional difference.

Diff Detail

Repository
rL LLVM

Event Timeline

thakis created this revision.Dec 1 2018, 7:08 PM
phosek accepted this revision.Dec 2 2018, 1:17 PM

LGTM

This revision is now accepted and ready to land.Dec 2 2018, 1:17 PM
This revision was automatically updated to reflect the committed changes.