9#ifndef LLVM_FRONTEND_OPENMP_DIRECTIVENAMEPARSER_H
10#define LLVM_FRONTEND_OPENMP_DIRECTIVENAMEPARSER_H
55 std::unique_ptr<TransitionMapTy> Transition;
59 bool isValid()
const {
60 return Value != Directive::OMPD_unknown || !Transition->empty();
72 State *insertTransition(State *From,
StringRef Tok);
This file defines the StringMap class.
static GCRegistry::Add< StatepointGC > D("statepoint-example", "an example strategy for statepoint")
This file defines the SmallVector class.
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
StringMap - This is an unconventional map that is specialized for handling keys that are "strings",...
StringRef - Represent a constant reference to a string, i.e.
friend struct DirectiveNameParser
static LLVM_ABI SmallVector< StringRef > tokenize(StringRef N)
const State * initial() const
LLVM_ABI DirectiveNameParser(SourceLanguage L=SourceLanguage::C)