1//===- EmitCTraits.h - EmitC trait definitions ------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file declares C++ classes for some of the traits used in the EmitC
10// dialect.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef MLIR_DIALECT_EMITC_IR_EMITCTRAITS_H
15#define MLIR_DIALECT_EMITC_IR_EMITCTRAITS_H
16
17#include "mlir/IR/OpDefinition.h"
18
19namespace mlir {
20namespace OpTrait {
21namespace emitc {
22
23template <typename ConcreteType>
24class CExpression : public TraitBase<ConcreteType, CExpression> {};
25
26} // namespace emitc
27} // namespace OpTrait
28} // namespace mlir
29
30#endif // MLIR_DIALECT_EMITC_IR_EMITCTRAITS_H
31

source code of mlir/include/mlir/Dialect/EmitC/IR/EmitCTraits.h