[cfe-commits] r44339 - in /cfe/trunk: Lex/LiteralSupport.cpp include/clang/Lex/LiteralSupport.h

Neil Booth neil at daikokuya.co.uk
Thu Nov 29 14:32:10 PST 2007


Chris Lattner wrote:-

> to be a little more clear, we know that the terminator character  
> isn't valid for a pp-number.  However, I'm a bit hesitant to tightly  
> couple APFloat and the CFE's assumptions like this.  In my mind,  
> making a copy of the input text to null terminate it is fine for now,  
> ultimately it would be better to switch the number parser to take two  
> const char*'s as a range to read from.

Yes it was written with this being the case in mind.  It's happy
to get the pointer to the beginning without a copy.

But your call!

Neil.



More information about the cfe-commits mailing list