1 //===--- OpenMPKinds.h - OpenMP enums ---------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
11 /// \brief Defines some OpenMP-specific enums and functions.
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_CLANG_BASIC_OPENMPKINDS_H
16 #define LLVM_CLANG_BASIC_OPENMPKINDS_H
18 #include "llvm/ADT/StringRef.h"
22 /// \brief OpenMP directives.
23 enum OpenMPDirectiveKind {
25 #define OPENMP_DIRECTIVE(Name) \
27 #include "clang/Basic/OpenMPKinds.def"
31 OpenMPDirectiveKind getOpenMPDirectiveKind(llvm::StringRef Str);
32 const char *getOpenMPDirectiveName(OpenMPDirectiveKind Kind);