SuccessChanges

Summary

  1. [clang][cli] NFC: Remove ArgList infrastructure for recording queries (details)
  2. [clang] Remove a superfluous semicolon, silencing GCC warnings. NFC. (details)
  3. [clang][driver] Set the input type to Fortran when reading from stdin (details)
  4. [clang][flang] Improve the consistency of the code-base (details)
Commit 43cac1d27d7d57a7800150f95c3f8ac1e3b2bc2b by Jan Svoboda
[clang][cli] NFC: Remove ArgList infrastructure for recording queries

This patch removes the infrastructure for recording queries in `ArgList`, partially reverting D94472.

The infrastructure was used during command line round-trip to determine which arguments should a certain subset of `CompilerInvocation` generate.

Since D96280, the command line arguments are being generated all at once, making this code no longer necessary.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D96325
The file was modifiedllvm/lib/Option/ArgList.cpp (diff)
The file was modifiedllvm/include/llvm/Option/ArgList.h (diff)
Commit 0c8b26bf530b3fc65af9205c593583f26549da3e by martin
[clang] Remove a superfluous semicolon, silencing GCC warnings. NFC.
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp (diff)
Commit baebc1162f810f7bf5de48919054f75a2f81e180 by andrzej.warzynski
[clang][driver] Set the input type to Fortran when reading from stdin

This patch makes sure that for the following invocation of the new Flang
driver, clangDriver sets the input type to Fortran:
```
flang-new -E -
```
This change does not affect `clang`, i.e. for the following invocation
the input type is set to C:
```
clang -E -
```

This change leverages the fact that for `flang-new` the driver is in
Flang mode.

Differential Revision: https://reviews.llvm.org/D96777
The file was modifiedflang/test/Flang-Driver/input-from-stdin.f90 (diff)
The file was modifiedclang/lib/Driver/Driver.cpp (diff)
Commit ad14ccc8c22e1480db7bfc1a176311e6f572c588 by llvm
[clang][flang] Improve the consistency of the code-base

In clang:
Replace argc_ with Argc
Replace argv_ with Argv
Replace argv with Args
In flang:
Replace argc_ with argc
Replace argv_ with argv
Replace argv with args

Reviewed By: awarzynski, aganea

Differential Revision: https://reviews.llvm.org/D97138
The file was modifiedclang/tools/driver/driver.cpp (diff)
The file was modifiedflang/tools/flang-driver/driver.cpp (diff)