llvm::Automaton::add

Transition the automaton based on input symbol A.

Synopsis

Declared in <llvm/Support/Automaton.h>

bool
add(ActionT const& A);

Description

If this function returns false, all methods are undefined until reset() is called.

Return Value

True if the automaton transitioned to a valid state, false if the automaton transitioned to an invalid state.

Parameters

NameDescription
AInput action to apply.