bloomberg / clangmetatool

A framework for reusing code in Clang tools
https://bloomberg.github.io/clangmetatool/
Apache License 2.0
119 stars 25 forks source link

Allow diagnostics during post-processing #29

Closed dbeer1 closed 5 years ago

dbeer1 commented 5 years ago

Fixes issue where emitting a diagnostic inside postProcessing will result in a crash. This is because currently postProcessing is called inside EndSourceFileAction, at which point the diagnostic context has been cleaned up.

CC: @ruoso, @azeemba