Review comments in D69854: [clang-format] [RELAND] Remove the dependency on frontend recommended a simpler approach of creating the SMDiagnostics to remove much of the complexity. (thanks @thakis)
@vlad.tsyrklevich I've rebuilt on both Windows and Linux (running Linux with Address and Undefined sanitizers) over the clang code base
Note to self: this can probably go outside the loop.