diff options
author | Andrzej Warzynski <andrzej.warzynski@arm.com> | 2022-01-27 16:44:44 +0000 |
---|---|---|
committer | Andrzej Warzynski <andrzej.warzynski@arm.com> | 2022-01-31 10:36:18 +0000 |
commit | 4606f838b2b60ce7d3995adf194eee470bf2395b (patch) | |
tree | 8421c185b3c0c1ca9936594d901aabf2692d5965 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 280b43031ca05bfb674017f91988b7c9b659a820 (diff) | |
download | llvm-4606f838b2b60ce7d3995adf194eee470bf2395b.zip llvm-4606f838b2b60ce7d3995adf194eee470bf2395b.tar.gz llvm-4606f838b2b60ce7d3995adf194eee470bf2395b.tar.bz2 |
[flang][driver][nfc] Fix capitalisation
As pointed out in https://reviews.llvm.org/D93401, some methods in the
Flang driver are named inconsistently. The driver strives to follow
Flang's C++ style [1] and this patch updates these methods accordingly.
[1]
https://github.com/llvm/llvm-project/blob/main/flang/docs/C%2B%2Bstyle.md
Differential Revision: https://reviews.llvm.org/D118381
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | flang/lib/Frontend/CompilerInvocation.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/flang/lib/Frontend/CompilerInvocation.cpp b/flang/lib/Frontend/CompilerInvocation.cpp index 4525130..2d8c9e3 100644 --- a/flang/lib/Frontend/CompilerInvocation.cpp +++ b/flang/lib/Frontend/CompilerInvocation.cpp @@ -565,7 +565,7 @@ bool CompilerInvocation::CreateFromArgs(CompilerInvocation &res, return success; } -void CompilerInvocation::collectMacroDefinitions() { +void CompilerInvocation::CollectMacroDefinitions() { auto &ppOpts = this->preprocessorOpts(); for (unsigned i = 0, n = ppOpts.macros.size(); i != n; ++i) { @@ -607,7 +607,7 @@ void CompilerInvocation::SetDefaultFortranOpts() { // TODO: When expanding this method, consider creating a dedicated API for // this. Also at some point we will need to differentiate between different // targets and add dedicated predefines for each. -void CompilerInvocation::setDefaultPredefinitions() { +void CompilerInvocation::SetDefaultPredefinitions() { auto &fortranOptions = fortranOpts(); const auto &frontendOptions = frontendOpts(); @@ -631,7 +631,7 @@ void CompilerInvocation::setDefaultPredefinitions() { } } -void CompilerInvocation::setFortranOpts() { +void CompilerInvocation::SetFortranOpts() { auto &fortranOptions = fortranOpts(); const auto &frontendOptions = frontendOpts(); const auto &preprocessorOptions = preprocessorOpts(); @@ -677,7 +677,7 @@ void CompilerInvocation::setFortranOpts() { } } -void CompilerInvocation::setSemanticsOpts( +void CompilerInvocation::SetSemanticsOpts( Fortran::parser::AllCookedSources &allCookedSources) { const auto &fortranOptions = fortranOpts(); |