diff options
author | Nico Weber <nicolasweber@gmx.de> | 2018-12-02 22:25:25 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2018-12-02 22:25:25 +0000 |
commit | e4f26eb49e3bdf1cd633b8ca3efafc4f04f0afdc (patch) | |
tree | 1831aedae2dca2f39112b3140a0bc4fb500974d3 /lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i | |
parent | 3c469ea731f6a6ca8f0e151f68cbc54db08fd1fc (diff) | |
download | bcm5719-llvm-e4f26eb49e3bdf1cd633b8ca3efafc4f04f0afdc.tar.gz bcm5719-llvm-e4f26eb49e3bdf1cd633b8ca3efafc4f04f0afdc.zip |
[gn build] Slightly simplify write_cmake_config.
Before, the script had a bunch of special cases for #cmakedefine and
#cmakedefine01 and then did general variable substitution. Now, the script
always does general variable substitution for all lines and handles the special
cases afterwards.
This has no observable effect for the inputs we use, but is easier to explain
and slightly easier to implement.
Also mention to link to CMake's configure_file() in the docstring.
(The new behavior doesn't quite match CMake on lines like #cmakedefine ${FOO},
but nobody does that.)
Differential Revision: https://reviews.llvm.org/D55171
llvm-svn: 348106
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i')
0 files changed, 0 insertions, 0 deletions