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

Nick Desaulniers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 5 16:42:25 PDT 2021


nickdesaulniers created this revision.
nickdesaulniers added a reviewer: aaron.ballman.
nickdesaulniers requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

The diagnostic texts for warning on attributes that don't appear on the
initial declaration is generally useful.  We'd like to re-use it in
D106030 <https://reviews.llvm.org/D106030>, but first let's combine two that already are very similar so we
may re-use it a third time in that commit.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D107613

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaDecl.cpp
  clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.noreturn/p1.cpp
  clang/test/Sema/internal_linkage.c
  clang/test/SemaCXX/internal_linkage.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107613.364652.patch
Type: text/x-patch
Size: 5249 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210805/5a1b93b2/attachment.bin>


More information about the cfe-commits mailing list