Commit 1d30c09b authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Update the function's source location.

parent 497c5191
......@@ -1805,8 +1805,10 @@ bool Bind::visit(FunctionDefinitionAST *ast)
if (declaratorId && declaratorId->name)
if (declaratorId && declaratorId->name) {
fun->setSourceLocation(declaratorId->name->firstToken(), translationUnit());
} else
Supports Markdown
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