[lldb-dev] Error in object runtime language detection code (spurious '; ')

Johnny Chen johnny.chen at apple.com
Tue Sep 28 09:24:15 PDT 2010


Hi Jean-Daniel,

Applied your patch as r114957.  Thanks!

On Sep 28, 2010, at 8:41 AM, Jean-Daniel Dupas wrote:

> In ValueObject::GetObjectRuntimeLanguage(), there is a spurious ';' after an if statement which is interpreted as an empty if body instead of the actual if body.
> 
> This patch also replace false by NULL in a place where the compiler expects a pointer instead of a bool.
> 
> <fixup.patch>
> 
> 
> -- Jean-Daniel
> 
> 
> 
> 
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev





More information about the lldb-dev mailing list