[PATCH] D66609: Allow Compiler.h to be included in C files and fix fallthrough warnings

Nathan Huckleberry via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 22 11:15:07 PDT 2019


Nathan-Huckleberry created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
Nathan-Huckleberry added reviewers: nickdesaulniers, aaron.ballman, xbolva00.
Nathan-Huckleberry added a subscriber: ormris.

Since clang does not support comment style fallthrough annotations
these should be switched to macros defined in Compiler.h. This
requires some fixing to Compiler.h.

Original patch: https://reviews.llvm.org/D66487


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D66609

Files:
  llvm/include/llvm/Support/Compiler.h
  llvm/lib/Support/regcomp.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66609.216675.patch
Type: text/x-patch
Size: 4264 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190822/9c1077b0/attachment.bin>


More information about the llvm-commits mailing list