[flang-commits] [flang] [Flang] Fix -Wopen-mp-* and -Wopen-acc-* flag spellings (PR #188434)
Michael Klemm via flang-commits
flang-commits at lists.llvm.org
Thu Mar 26 03:33:05 PDT 2026
================
@@ -178,6 +227,19 @@ std::optional<LanguageControlFlag> LanguageFeatureControl::FindWarning(
return std::nullopt;
}
+std::optional<std::string_view> LanguageFeatureControl::GetCanonicalSpelling(
----------------
mjklemm wrote:
`IsDeprecated` did not feel right, as it implies to return a `bool` value. I went with `CheckDeprecatedSpelling`.
https://github.com/llvm/llvm-project/pull/188434
More information about the flang-commits
mailing list