[PATCH] D40698: [ubsan] Diagnose noreturn functions which return

Vedant Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 18 15:27:56 PST 2017


vsk updated this revision to Diff 127424.
vsk added a comment.

- Make the patch cleaner by introducing an overload of EmitCall() which doesn't require a SourceLocation argument.


https://reviews.llvm.org/D40698

Files:
  docs/UndefinedBehaviorSanitizer.rst
  lib/CodeGen/CGBuiltin.cpp
  lib/CodeGen/CGCall.cpp
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CGExprCXX.cpp
  lib/CodeGen/CodeGenFunction.h
  test/CodeGen/ubsan-noreturn.c
  test/CodeGenCXX/ubsan-unreachable.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40698.127424.patch
Type: text/x-patch
Size: 9970 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171218/d7c6b735/attachment-0001.bin>


More information about the cfe-commits mailing list