Add new cmdline option -mixin=<filename>

This commit is contained in:
Martin Kinkelin 2018-12-21 19:14:01 +01:00
parent 26c27c664d
commit 389977d084
5 changed files with 22 additions and 1 deletions

View file

@ -220,6 +220,10 @@ cl::opt<bool>
hdrKeepAllBodies("Hkeep-all-bodies", cl::ZeroOrMore,
cl::desc("Keep all function bodies in .di files"));
cl::opt<std::string> mixinFile("mixin", cl::ZeroOrMore,
cl::desc("Expand and save mixins to <filename>"),
cl::value_desc("filename"));
static cl::opt<bool, true> unittest("unittest", cl::ZeroOrMore,
cl::desc("Compile in unit tests"),
cl::location(global.params.useUnitTests));