SuccessChanges

Summary

  1. [clang][cli] Implement `getAllArgValues` marshalling (details)
  2. [flang][driver] Fix formatting in a test (nfc) (details)
  3. [clang] NFC: Refactor custom class into a lambda in CompilerInvocation (details)
Commit 63a24816f561a5d8e28ca7054892bd8602618be4 by jan_svoboda
[clang][cli] Implement `getAllArgValues` marshalling

This infrastructure can be used ~30 more command line options.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D93631
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/unittests/Frontend/CompilerInvocationTest.cpp
The file was modifiedllvm/include/llvm/Option/OptParser.td
The file was modifiedclang/include/clang/Driver/Options.td
Commit 31b67d2debd43b9854248b853a52ea989c7322a0 by andrzej.warzynski
[flang][driver] Fix formatting in a test (nfc)
The file was modifiedflang/test/Frontend/print-preprocessed-file.f90
Commit bef9eb84b2fb17b22ca771c8c5c34a85f141168d by jan_svoboda
[clang] NFC: Refactor custom class into a lambda in CompilerInvocation

Change `makeFlagToValueNormalizer` so that one specialization converts all integral/enum arguments into `uint64_t` and forwards them to the more generic version.

This makes it easy to replace the custom `FlagToValueNormalizer` struct with a lambda, which is the common approach in other (de)normalizers.

Finally, drop custom `is_int_convertbile` in favor of `llvm::is_integral_or_enum`.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D93628
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp