[clang] [llvm] [clang] Add support for the c2000 architecture (PR #125663)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 7 12:35:58 PST 2025


================
@@ -9111,3 +9118,50 @@ def wasm_opt : Flag<["--"], "wasm-opt">,
   Group<m_Group>,
   HelpText<"Enable the wasm-opt optimizer (default)">,
   MarshallingInfoNegativeFlag<LangOpts<"NoWasmOpt">>;
+
+
+
+//===----------------------------------------------------------------------===//
+// cl2000 Options
+//===----------------------------------------------------------------------===//
+
+
+
+
+def cl2000_include_path : Joined<["--"], "include_path=">, Group<cl2000_group>,
----------------
efriedma-quic wrote:

strict_ansi/relaxed_ansi should map to the clang `-std` option: `-std=c99` is strict mode, `-std=gnu99` is relaxed mode.  The difference is small enough that you could probably just ignore the options, though.

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


More information about the cfe-commits mailing list