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

James Nagurne via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 4 14:50:29 PST 2025


================
@@ -0,0 +1,22 @@
+#include "clang/Driver/Driver.h"
+#include "clang/Driver/DriverDiagnostic.h"
+#include "clang/Driver/InputInfo.h"
+#include "clang/Driver/Tool.h"
+#include "clang/Driver/ToolChain.h"
+#include "llvm/ADT/StringRef.h"
+#include "llvm/Option/Option.h"
+
+#include <string>
+#include <vector>
+
+namespace clang {
----------------
DragonDisciple wrote:

I think upstream prefers the modern nested namespace declaration, but I suppose no other Arch file does that currently! There are examples of it around code, though. Cosmetic and just saves some space.

namespace clang::driver::tools::c2000

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


More information about the cfe-commits mailing list