diff options
author | Dave Lee <davelee.com@gmail.com> | 2020-10-16 23:02:50 -0700 |
---|---|---|
committer | Dave Lee <davelee.com@gmail.com> | 2020-10-17 00:16:24 -0700 |
commit | ae4fe1984f0e47259b5e476a73749185cc24e1ac (patch) | |
tree | 7f5597b8fb64b15f925b339361b5df7d7e5dba97 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 5564ee495bddeb12d3a9a617631cfa478cf67959 (diff) | |
download | llvm-ae4fe1984f0e47259b5e476a73749185cc24e1ac.zip llvm-ae4fe1984f0e47259b5e476a73749185cc24e1ac.tar.gz llvm-ae4fe1984f0e47259b5e476a73749185cc24e1ac.tar.bz2 |
[lldb] Enable cmake policy CMP0077 for option()
In lldb, explicitly set the "option() honors normal variables" CMake policy. This applies for
standalone lldb builds and matches what llvm, clang, etc do. This prevents potentially unwanted
clearing of variables like `LLVM_ENABLE_WARNINGS`, and also prevents unnecessary build warnings.
See: https://cmake.org/cmake/help/latest/policy/CMP0077.html
Differential Revision: https://reviews.llvm.org/D89614
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions