[flang-commits] [flang] [flang][cli] Add diagnostic flags to the CLI (PR #142022)
Andre Kuhlenschmidt via flang-commits
flang-commits at lists.llvm.org
Wed Jun 4 16:02:25 PDT 2025
================
@@ -8,11 +8,75 @@
#include "flang/Support/Fortran-features.h"
#include "flang/Common/idioms.h"
+#include "flang/Parser/characters.h"
#include "flang/Support/Fortran.h"
+#include <string>
+#include <string_view>
namespace Fortran::common {
+// Namespace for helper functions for parsing CLI options
+// used instead of static so that there can be unit tests for these
+// functions.
+namespace featuresHelpers {
+
+static std::vector<std::string_view> SplitCamelCase(std::string_view x) {
----------------
akuhlens wrote:
The following function is not static because there are a bunch of unit tests testing it.
https://github.com/llvm/llvm-project/pull/142022
More information about the flang-commits
mailing list