[PATCH] D81865: [clang] Use string tables for static diagnostic descriptions

Nathan Froyd via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 28 09:10:01 PDT 2020


froydnj updated this revision to Diff 288628.
froydnj added a comment.

Updated to use a struct instead of a union for the actual table in an effort to avoid UB.


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

https://reviews.llvm.org/D81865

Files:
  clang/lib/Basic/DiagnosticIDs.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81865.288628.patch
Type: text/x-patch
Size: 6076 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200828/b3c05408/attachment-0001.bin>


More information about the cfe-commits mailing list