[PATCH] D97462: [clang][cli] Round-trip cc1 arguments in assert builds
Jan Svoboda via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 5 02:50:04 PST 2021
jansvoboda11 updated this revision to Diff 328460.
jansvoboda11 added a comment.
Rebase
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97462/new/
https://reviews.llvm.org/D97462
Files:
clang/CMakeLists.txt
Index: clang/CMakeLists.txt
===================================================================
--- clang/CMakeLists.txt
+++ clang/CMakeLists.txt
@@ -465,7 +465,8 @@
option(CLANG_ENABLE_PROTO_FUZZER "Build Clang protobuf fuzzer." OFF)
-option(CLANG_ROUND_TRIP_CC1_ARGS "Round-trip command line arguments in -cc1." OFF)
+option(CLANG_ROUND_TRIP_CC1_ARGS
+ "Round-trip command line arguments in -cc1." ${LLVM_ENABLE_ASSERTIONS})
if(NOT CLANG_ENABLE_STATIC_ANALYZER AND CLANG_ENABLE_ARCMT)
message(FATAL_ERROR "Cannot disable static analyzer while enabling ARCMT or Z3")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97462.328460.patch
Type: text/x-patch
Size: 580 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210305/9de61ae6/attachment.bin>
More information about the cfe-commits
mailing list