[clang] [CIR] Call code gen; create empty cir.func op (PR #113483)
Ronan Keryell via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 28 23:12:42 PDT 2024
================
@@ -0,0 +1,38 @@
+//===- CIRAttrs.cpp - MLIR CIR Attributes ---------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+// This file defines the attributes in the CIR dialect.
+//
+//===----------------------------------------------------------------------===//
+
+#include "clang/CIR/Dialect/IR/CIRDialect.h"
+
+using namespace mlir;
+using namespace mlir::cir;
----------------
keryell wrote:
What about removing all the `using namespace` since this is a new start to the project?
https://github.com/llvm/llvm-project/pull/113483
More information about the cfe-commits
mailing list