Re: [PATCH 2/4] libcpp: Replace macro usage with C++ constructs

2015-05-04 Thread Jeff Law
On 05/01/2015 06:56 PM, David Malcolm wrote: libcpp makes extensive use of the C preprocessor. Whilst this has a pleasingly self-referential quality, I find the code hard-to-read; implementing source location support in my JIT branch was much harder than I felt it should have been. In an attemp

[PATCH 2/4] libcpp: Replace macro usage with C++ constructs

2015-05-01 Thread David Malcolm
libcpp makes extensive use of the C preprocessor. Whilst this has a pleasingly self-referential quality, I find the code hard-to-read; implementing source location support in my JIT branch was much harder than I felt it should have been. In an attempt at making the code easier to follow, and to b