[all-commits] [llvm/llvm-project] 6e491c: [Support] Class for response file expansion (NFC)
Serge Pavlov via All-commits
all-commits at lists.llvm.org
Tue Sep 27 22:25:42 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6e491c48d6b9cadcc5b77f730dd83a1448197329
https://github.com/llvm/llvm-project/commit/6e491c48d6b9cadcc5b77f730dd83a1448197329
Author: Serge Pavlov <sepavloff at gmail.com>
Date: 2022-09-28 (Wed, 28 Sep 2022)
Changed paths:
M clang/lib/Driver/Driver.cpp
M clang/lib/Tooling/ExpandResponseFilesCompilationDatabase.cpp
M clang/tools/driver/driver.cpp
M llvm/include/llvm/Support/CommandLine.h
M llvm/include/llvm/Support/StringSaver.h
M llvm/lib/Support/CommandLine.cpp
M llvm/unittests/Support/CommandLineTest.cpp
Log Message:
-----------
[Support] Class for response file expansion (NFC)
Functions that implement expansion of response and config files depend
on many options, which are passes as arguments. Extending the expansion
requires new options, it in turn causes changing calls in various places
making them even more bulky.
This change introduces a class ExpansionContext, which represents set of
options that control the expansion. Its methods implements expansion of
responce files including config files. It makes extending the expansion
easier.
No functional changes.
Differential Revision: https://reviews.llvm.org/D132379
More information about the All-commits
mailing list