clang-rs icon indicating copy to clipboard operation
clang-rs copied to clipboard

Location information for Types

Open sertel opened this issue 5 years ago • 0 comments

Hi,

Is there any possibility to access the location information for a type? I'm doing roughly the following:

fn_entity
  .get_type().unwrap()
  .get_argument_types().unwrap()
  .into_iter()
  .for_each(|t:Type| {
    // get location information for 'type' here
  })

Thanks a lot, Sebastian.

sertel avatar Nov 18 '19 11:11 sertel