llvm-project/flang/lib/Frontend
Andrzej Warzynski 1e462fafdf [flang][driver] Switch to the MLIR coding style in the driver (nfc)
This patch re-factors the driver code in LLVM Flang (frontend +
compiler) to use the MLIR style. For more context, please see:
https://discourse.llvm.org/t/rfc-coding-style-in-the-driver/

Most changes here are rather self-explanatory. Accessors are renamed to
be more consistent with the rest of LLVM (e.g. allSource -->
getAllSources). Additionally, MLIR clang-tidy files are added in the
affected directories.

clang-tidy and clang-format files were copied from MLIR. Small
additional changes are made to silence clang-tidy/clang-format
warnings.

[1] https://mlir.llvm.org/getting_started/DeveloperGuide/

Differential Revision: https://reviews.llvm.org/D125007
2022-05-14 10:27:06 +00:00
..
.clang-format [flang][driver] Switch to the MLIR coding style in the driver (nfc) 2022-05-14 10:27:06 +00:00
.clang-tidy [flang][driver] Switch to the MLIR coding style in the driver (nfc) 2022-05-14 10:27:06 +00:00
CMakeLists.txt [flang][driver] Add support for consuming LLVM IR/BC files 2022-05-05 15:11:50 +00:00
CompilerInstance.cpp [flang][driver] Switch to the MLIR coding style in the driver (nfc) 2022-05-14 10:27:06 +00:00
CompilerInvocation.cpp [flang][driver] Switch to the MLIR coding style in the driver (nfc) 2022-05-14 10:27:06 +00:00
FrontendAction.cpp [flang][driver] Switch to the MLIR coding style in the driver (nfc) 2022-05-14 10:27:06 +00:00
FrontendActions.cpp [flang][driver] Switch to the MLIR coding style in the driver (nfc) 2022-05-14 10:27:06 +00:00
FrontendOptions.cpp [flang][driver] Switch to the MLIR coding style in the driver (nfc) 2022-05-14 10:27:06 +00:00
TextDiagnostic.cpp [flang][driver] Switch to the MLIR coding style in the driver (nfc) 2022-05-14 10:27:06 +00:00
TextDiagnosticBuffer.cpp [flang][driver] Switch to the MLIR coding style in the driver (nfc) 2022-05-14 10:27:06 +00:00
TextDiagnosticPrinter.cpp [flang][driver] Switch to the MLIR coding style in the driver (nfc) 2022-05-14 10:27:06 +00:00