Commit 6573ec57 authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

Fixed potential 0 pointer deref.

parent 0639d174
......@@ -1939,7 +1939,11 @@ unsigned ObjCMessageExpressionAST::lastToken() const
unsigned ObjCMessageArgumentAST::firstToken() const
return parameter_value_expression->firstToken();
if (parameter_value_expression)
return parameter_value_expression->firstToken();
// ### assert?
return 0;
unsigned ObjCMessageArgumentAST::lastToken() const
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment