[all-commits] [llvm/llvm-project] e1cc29: [clang] Introduce copy-on-write `CompilerInvocatio...
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Thu Sep 7 14:01:53 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e1cc299ec885d0b1607f162322fe23b772866acf
https://github.com/llvm/llvm-project/commit/e1cc299ec885d0b1607f162322fe23b772866acf
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2023-09-07 (Thu, 07 Sep 2023)
Changed paths:
M clang/include/clang/Basic/CodeGenOptions.h
M clang/include/clang/Basic/DiagnosticOptions.h
M clang/include/clang/Basic/LangOptions.h
M clang/include/clang/Frontend/CompilerInvocation.h
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/unittests/Frontend/CompilerInvocationTest.cpp
Log Message:
-----------
[clang] Introduce copy-on-write `CompilerInvocation` (#65412)
This PR introduces new copy-on-write `CompilerInvocation` class
(`CowCompilerInvocation`), which will be used by the dependency scanner
to reduce the number of copies performed when generating command lines
for discovered modules.
More information about the All-commits
mailing list