[PATCH] D107613: [Clang][DiagnosticSemaKinds] combine diagnostic texts

Derek Schuff via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 4 10:31:32 PDT 2021


dschuff added a comment.

It looks like this error is intended to catch mismatches for attributes that can affect codegen such as noreturn (in which case it makes sense to have it as an error) but it also now fires for cases such as `__attribute__(warning())` which often do not duplicate the attribute on the definition. Is that intended?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107613/new/

https://reviews.llvm.org/D107613



More information about the cfe-commits mailing list