how to get StringLiteral


I want to get the location of StringLiteral constant,for example,

struct model {
  int len;
  char *string;
  char string1[10];
  int interp;

struct model ss= {
  { 6, "*define*","*asdfs*", 1 },
  { 4, "*else*","*sdfsf*", 0 }}
I want to get the StringLiterals of *define

How can I do it or which API can help me?Thank you for your help.


I find it,just use VisitStringLiteral(StringLiteral *SL).