[all-commits] [llvm/llvm-project] cf73d3: [clang][deps] Ensure module invocation can be seri...
Ben Langmuir via All-commits
all-commits at lists.llvm.org
Wed Feb 8 14:24:00 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cf73d3f07b5b0ff83a852dfdf8857500e86f9952
https://github.com/llvm/llvm-project/commit/cf73d3f07b5b0ff83a852dfdf8857500e86f9952
Author: Ben Langmuir <blangmuir at apple.com>
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M clang/include/clang/Frontend/CompilerInvocation.h
M clang/lib/Basic/LangOptions.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
A clang/test/ClangScanDeps/modules-implied-args.c
M clang/tools/clang-scan-deps/ClangScanDeps.cpp
Log Message:
-----------
[clang][deps] Ensure module invocation can be serialized
When reseting modular options, propagate the values from certain options
that have ImpliedBy relations instead of setting to the default. Also,
verify in clang-scan-deps that the command line produced round trips
exactly.
Ideally we would automatically derive the set of options that need this
kind of propagation, but for now there aren't very many impacted.
rdar://105148590
Differential Revision: https://reviews.llvm.org/D143446
More information about the All-commits
mailing list