diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2021-01-27 14:50:09 +0100 |
---|---|---|
committer | Jan Svoboda <jan_svoboda@apple.com> | 2021-01-27 14:57:22 +0100 |
commit | d0e8a9e5a2f02ec1a3aa4c29469be504ff00d1db (patch) | |
tree | 69a79e5613d5cd87c463a4eebc9f4eb4494c05a1 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 05127fba4b66c91489e9f380f691a0bb42cd2782 (diff) | |
download | llvm-d0e8a9e5a2f02ec1a3aa4c29469be504ff00d1db.zip llvm-d0e8a9e5a2f02ec1a3aa4c29469be504ff00d1db.tar.gz llvm-d0e8a9e5a2f02ec1a3aa4c29469be504ff00d1db.tar.bz2 |
[clang][cli] Generate HeaderSearch options separately
This patch moves parsing of header search options from `generateCC1Options` to separate `GenerateHeaderSearchArgs`.
The round-trip algorithm in D94472 requires this separation to be able to run parsing and generating **only** for the options that need to be tested via round-tripping.
This also moves the `GENERATE_OPTION_WITH_MARSHALLING` to the top of the file, because other kinds of options will be generated in separate functions that will be spread throughout `CompilerInvocation.cpp` to be close to their parsing counterparts.
Reviewed By: dexonsmith
Differential Revision: https://reviews.llvm.org/D94803
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions