[flang-commits] [flang] [flang][cli] Add diagnostic flags to the CLI (PR #142022)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Sat May 31 13:17:38 PDT 2025


================
@@ -94,6 +96,11 @@ LanguageFeatureControl::LanguageFeatureControl() {
   warnLanguage_.set(LanguageFeature::NullActualForAllocatable);
 }
 
+// Namespace for helper functions for parsing CLI options
+// used instead of static so that there can be unit tests for these
+// functions.
+namespace FortranFeaturesHelpers {
----------------
klausler wrote:

namespaces are lower case in our C++ style

https://github.com/llvm/llvm-project/pull/142022


More information about the flang-commits mailing list