1//===-- AVRMCExpr.cpp - AVR specific MC expression classes ----------------===//
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#include "AVRMCExpr.h"
10
11#include "llvm/MC/MCAsmInfo.h"
12#include "llvm/MC/MCAssembler.h"
13#include "llvm/MC/MCContext.h"
14
15namespace llvm {
16
17const AVRMCExpr *AVRMCExpr::create(Specifier Kind, const MCExpr *Expr,
18 bool Negated, MCContext &Ctx) {
19 return new (Ctx) AVRMCExpr(Kind, Expr, Negated);
20}
21
22} // namespace llvm
23