How to get the Location of SystemFunction,I used the SourceLocation and miss some trouble

Hi,
I’ve always used the getLocStart method to insert text at the beginning of a stmt.

Cheers,
Sam

Sam Parker
Research Student
Electronic Systems Design Group
School of Electronic, Electrical and Systems Engineering
Loughborough University

thx,
but I tried to like this with getLocStart() Function :SourceLocation ST1 =
FD->getLocStart();
but it also make no difference when I tried to Rewrite.InsertText(ST1,
tempfc, true, true);