35 #include "llvm/ADT/ArrayRef.h"
36 #include "llvm/ADT/OwningPtr.h"
37 #include "llvm/ADT/StringRef.h"
48 class AutomatonDescription;
61 llvm::ArrayRef<const Usage*>
RootAutomata()
const {
return Roots; }
85 Manifest(llvm::OwningPtr<ManifestFile>& Protobuf,
87 const std::map<Identifier,const Automaton*>& Automata,
88 llvm::ArrayRef<const Usage*> Roots)
89 : Protobuf(Protobuf.take()), Descriptions(Descriptions), Automata(Automata),
96 static const std::string SEP;
99 llvm::OwningPtr<ManifestFile> Protobuf;
105 std::map<Identifier,const Automaton*> Automata;
108 llvm::ArrayRef<const Usage*> Roots;