[clang] [flang] [FLANG] allow -fopenmp= (PR #86816)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 27 08:47:18 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 5e688f0dbdaaf8ef06c1affa90db985acf401237 372995f4e755e3c0bc4a0b5dd09e27c21a3faf2e -- clang/lib/Driver/ToolChains/Flang.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Driver/ToolChains/Flang.cpp b/clang/lib/Driver/ToolChains/Flang.cpp
index 97326c2ed1..0eb0a3f5ac 100644
--- a/clang/lib/Driver/ToolChains/Flang.cpp
+++ b/clang/lib/Driver/ToolChains/Flang.cpp
@@ -35,25 +35,18 @@ static void addDashXForInput(const ArgList &Args, const InputInfo &Input,
void Flang::addFortranDialectOptions(const ArgList &Args,
ArgStringList &CmdArgs) const {
- Args.addAllArgs(CmdArgs, {options::OPT_ffixed_form,
- options::OPT_ffree_form,
- options::OPT_ffixed_line_length_EQ,
- options::OPT_fopenacc,
- options::OPT_finput_charset_EQ,
- options::OPT_fimplicit_none,
- options::OPT_fno_implicit_none,
- options::OPT_fbackslash,
- options::OPT_fno_backslash,
- options::OPT_flogical_abbreviations,
- options::OPT_fno_logical_abbreviations,
- options::OPT_fxor_operator,
- options::OPT_fno_xor_operator,
- options::OPT_falternative_parameter_statement,
- options::OPT_fdefault_real_8,
- options::OPT_fdefault_integer_8,
- options::OPT_fdefault_double_8,
- options::OPT_flarge_sizes,
- options::OPT_fno_automatic});
+ Args.addAllArgs(
+ CmdArgs, {options::OPT_ffixed_form, options::OPT_ffree_form,
+ options::OPT_ffixed_line_length_EQ, options::OPT_fopenacc,
+ options::OPT_finput_charset_EQ, options::OPT_fimplicit_none,
+ options::OPT_fno_implicit_none, options::OPT_fbackslash,
+ options::OPT_fno_backslash, options::OPT_flogical_abbreviations,
+ options::OPT_fno_logical_abbreviations,
+ options::OPT_fxor_operator, options::OPT_fno_xor_operator,
+ options::OPT_falternative_parameter_statement,
+ options::OPT_fdefault_real_8, options::OPT_fdefault_integer_8,
+ options::OPT_fdefault_double_8, options::OPT_flarge_sizes,
+ options::OPT_fno_automatic});
}
void Flang::addPreprocessingOptions(const ArgList &Args,
``````````
</details>
https://github.com/llvm/llvm-project/pull/86816
More information about the cfe-commits
mailing list