[cfe-dev] Issue with SourceRange and null constant

Daniel QuiƱones Lopez kaos09 at hotmail.com
Tue Apr 22 05:38:31 PDT 2014




Hello,

Can anybody explain to me why when I try to get the SourceRange of the BinaryOperator "x = NULL" (in wich "x" is a pointer type variable) it doesn't correspond with it? I'm trying to replace the text in there, but all i get is something like:

/* New text */ x = NULL

I know it is due to the null constant, but i can't figure it out.

Thank you,
Daniel.

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140422/199bcf93/attachment.html>


More information about the cfe-dev mailing list