[PATCH] D66487: Fix -Wimplicit-fallthrough warnings in regcomp.c

Nathan Huckleberry via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 21 13:41:10 PDT 2019


Nathan-Huckleberry added a comment.

Maybe replace __has_cpp_attribute with something like this?

  #ifndef has_cpp_attribute
  #ifdef __cplusplus
  # define has_cpp_attribute(x) __has_cpp_attribute(x)
  #else
  # define has_cpp_attribute(x) 0
  #endif
  #endif


Repository:
  rL LLVM

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

https://reviews.llvm.org/D66487





More information about the llvm-commits mailing list