Closed tedjpoole closed 1 year ago
The problem was a misunderstanding of clang::SourceLocation objects and how they work for macro expansions. Introduced an extra getFileLoc() function which 'unwraps' source locations until it reaches a real file location.
clang::SourceLocation
getFileLoc()
The problem was a misunderstanding of
clang::SourceLocation
objects and how they work for macro expansions. Introduced an extragetFileLoc()
function which 'unwraps' source locations until it reaches a real file location.