aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELF.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2021-01-28 10:18:46 +0100
committerJan Svoboda <jan_svoboda@apple.com>2021-01-28 10:35:02 +0100
commit374862d71c1a2f63557a27f1555b37ff0f75117e (patch)
tree665ef9afbfa5c44fca4b0605e31c7c37a0766fcc /llvm/lib/Object/ELF.cpp
parentb9ed8ebe0e2ffa803b0bda60f9bbc9bb26f95000 (diff)
downloadllvm-374862d71c1a2f63557a27f1555b37ff0f75117e.zip
llvm-374862d71c1a2f63557a27f1555b37ff0f75117e.tar.gz
llvm-374862d71c1a2f63557a27f1555b37ff0f75117e.tar.bz2
[clang][cli] Use variadic macros for parsing/generating
This patch makes all macros forwarding to `PARSE_OPTION_WITH_MARSHALLING` and `GENERATE_OPTION_WITH_MARSHALLING` variadic. Sice we will be splitting up all CompilerInvocation parts, this will allow us to avoid a lot of boilerplate code. The local macros prefix forwarded arguments with local variables required by the main macros. The `{THIS,NO}_PREFIX` macros make it possible for forwarding macros in member functions (`parseSimpleArgs`, `generateCC1CommandLine`) to prefix keypaths with `this->`. (Some build bots seem to require that.) Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D95532
Diffstat (limited to 'llvm/lib/Object/ELF.cpp')
0 files changed, 0 insertions, 0 deletions