commit | c82eb1125acb40033f614341c139254c6c0916b2 | [log] [tgz] |
---|---|---|
author | Sebastian Poeplau <poeplau@adacore.com> | Wed Apr 24 20:01:19 2024 +0200 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Apr 24 11:11:47 2024 -0700 |
tree | dce74fb3c7ba1fa25c535b8ecada2f0c4c10112b | |
parent | 3ab0bfdfd9b0cde9c96bc4bab1abeb95b4b07157 [diff] |
[libclang] Compute the right spelling location (#72400) Locations inside macro expansions have different spelling/expansion locations. Apply a FIXME to make the libclang function clang_getSpellingLocation return the right spelling location, and adapt the testsuite driver code to use the file location rather than the spelling location to compute source ranges. Co-authored-by: Matthieu Eyraud <eyraud@adacore.com> GitOrigin-RevId: 2e770edd8ce13f48402f1d93e5fb982d8a2ebe64