Clang Project

clang_source_code/include/clang/Basic/ExpressionTraits.h
1//===- ExpressionTraits.h - C++ Expression Traits Support Enums -*- 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/// \file
10/// Defines enumerations for expression traits intrinsics.
11///
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_CLANG_BASIC_EXPRESSIONTRAITS_H
15#define LLVM_CLANG_BASIC_EXPRESSIONTRAITS_H
16
17namespace clang {
18
19  enum ExpressionTrait {
20    ET_IsLValueExpr,
21    ET_IsRValueExpr
22  };
23}
24
25#endif
26