[PATCH] Add CommentOptions, allow specifying custom comment block commands
bgertzfield at gmail.com
Mon Feb 4 18:30:25 PST 2013
Got the unit tests working! (I was running gdb on the wrong command.)
The core problem was that I previously required the comment options when constructing
CommandTraits -- but in PCH-reading mode, we construct CommandTraits way before reading
Now, I added a new method CommandTraits::RegisterCommentOptions() with which we can
register comment options from LangOptions after parsing the PCH. Tests are now passing.
- Don't pass in -fcustom-comment-block command when reading PCH in test.
- Add CommandTraits::RegisterCommentOptions(). Call from ASTInfoCollector::updated().
Hi indygreg, gribozavr, doug.gregor,
CHANGE SINCE LAST DIFF
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 22807 bytes
Desc: not available
More information about the cfe-commits