[PATCH] D18876: NFC: unify clang / LLVM atomic ordering

JF Bastien via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 15 12:21:20 PDT 2016


jfb updated this revision to Diff 53931.
jfb added a comment.

- Use validity checks, reduce casting while still avoiding UB on out-of-range enum values.


http://reviews.llvm.org/D18876

Files:
  include/clang/AST/Expr.h
  lib/CodeGen/CGAtomic.cpp
  lib/Sema/SemaChecking.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18876.53931.patch
Type: text/x-patch
Size: 14644 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160415/41c56017/attachment.bin>


More information about the cfe-commits mailing list