FLANG
include
flang
Semantics
omp-declare-variant.h
1
//===-- flang/Semantics/omp-declare-variant.h -------------------*- 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
#ifndef FORTRAN_SEMANTICS_OMP_DECLARE_VARIANT_H_
10
#define FORTRAN_SEMANTICS_OMP_DECLARE_VARIANT_H_
11
12
#include "flang/Common/reference.h"
13
14
namespace
Fortran::parser
{
15
inline
namespace
traits {
16
struct
OmpContextSelectorSpecification
;
17
}
// namespace traits
18
}
// namespace Fortran::parser
19
20
namespace
Fortran::semantics {
21
class
Symbol
;
22
23
// Information about a DECLARE VARIANT directive that will be recorded on its
24
// base procedure.
25
struct
OmpDeclareVariantEntry
{
26
common::Reference<const Symbol>
variant;
27
const
parser::traits::OmpContextSelectorSpecification
*matchSelector{
nullptr
};
28
};
29
30
}
// namespace Fortran::semantics
31
32
#endif
// FORTRAN_SEMANTICS_OMP_DECLARE_VARIANT_H_
Fortran::common::Reference
Definition
reference.h:18
Fortran::semantics::Symbol
Definition
symbol.h:893
Fortran::parser
Definition
check-expression.h:19
Fortran::parser::traits::OmpContextSelectorSpecification
Definition
parse-tree.h:3882
Fortran::semantics::OmpDeclareVariantEntry
Definition
omp-declare-variant.h:25
Generated on
for FLANG by
1.14.0