Open
Bug 672849
Opened 14 years ago
Updated 3 years ago
Create a script for rewriting NS_ENSURE_* to SOMETHING_BETTER_*
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
NEW
People
(Reporter: sfink, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
5.61 KB,
text/plain
|
Details |
The current script handles the majority of cases in the tree, though it doesn't handle reindenting inside macros yet. Example:
#define FUTZ \
kzort(++x); \
NS_ENSURE_TRUE(something,NS_ERROR_YOU_SUCK); \
kabam(x--);
the rewrite expands NS_ENSURE_TRUE into two lines, but doesn't fixup the indent on the 2nd. I can fix that if it looks like this rewrite is going to happen.
It also reports a dozen or so other cases it can't handle that have to be done manually.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•