This is a revised version of the original proposal that can be found here: http://reviews.llvm.org/D3967
The discussions on the mailing lists: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2014-October/039552.html
Changes since the original proposal:
- Option inheritance is now op-in
- Ability to query package options
- Updated to recent trunk
- Minor coding style fixes
- Replaced some std::string with StringRefs where appropriate
This patch may lack some regression tests but I wanted to get some input on the changes, documentation, API before writing those.