The PPCallbacks::MacroUndefined callback is currently insufficient for clients that need to track the MacroDirectives.
This patch adds an additional argument to PPCallbacks::MacroUndefined that is the undef MacroDirective.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Hi,
Can you attach the patch with context? What are you trying to fix by this change? Please also add a testcase.
Comment Actions
I need notification that a macro has been undefined. It's equally as important as a when it was defined.
I'll happily make a test case but want to make sure this would get in before doing so.
Comment Actions
Please update the patch with context: http://llvm.org/docs/Phabricator.html#requesting-a-review-via-the-web-interface
Thanks,
Manman
unittests/Basic/SourceManagerTest.cpp | ||
---|---|---|
251 ↗ | (On Diff #88836) | Can we make this an enum? |