aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorDave Lee <davelee.com@gmail.com>2020-10-16 23:02:50 -0700
committerDave Lee <davelee.com@gmail.com>2020-10-17 00:16:24 -0700
commitae4fe1984f0e47259b5e476a73749185cc24e1ac (patch)
tree7f5597b8fb64b15f925b339361b5df7d7e5dba97 /clang/lib/CodeGen/CodeGenFunction.cpp
parent5564ee495bddeb12d3a9a617631cfa478cf67959 (diff)
downloadllvm-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