Skip to content

Conversation

@dnadlinger
Copy link
Member

This is only a start, we could probably go much further in terms of usability by e.g. leveraging different sections. Also, some of the flags that are shown by default are probably of debatable use for most people, e.g. -v-cg (who uses this anyway?), -vv (I'm thinking about statically disabling the logger in release builds unless it is explicitly enabled in CMake), …

Unfortunately, it is not (easily) possible to implement this on pre-3.3 LLVM versions.

The idea is to hide any flags that an end user is unlikely
to need so that the -help output gets clearer. Some of the
flags are also downright confusing, as they seem similar
to unrelated D concepts. The hidden flags are still
available using -help-hidden.

Unfortunately, this is only possible on LLVM 3.3+.
Still not happy with it, but I feel it is still better
than just "very verbose".
dnadlinger added a commit that referenced this pull request Oct 15, 2013
@dnadlinger dnadlinger merged commit 0e71a8c into ldc-developers:master Oct 15, 2013
@dnadlinger dnadlinger deleted the help-cleanup branch October 15, 2013 00:22
redstar pushed a commit that referenced this pull request Sep 27, 2014
Change the Exception/Error constructors to @safe pure nothrow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant