This macro is widely used in many well-known projects, ex. Chromium.
But it's not set for clang-tidy, so for ex. DCHECK in Chromium is not considered as [[no-return]], and a lot of false-positive warnings about nullptr dereferenced are emitted.
This patch fixes the issue.
This revision is the second version of https://reviews.llvm.org/D44906.
I would add a comment that we only do this to define the analyzer-specific macro, not to actually use the analyzer frontend action.