[PATCH] D19832: [esan] Use do-while rather than braces for empty interceptors

Derek Bruening via llvm-commits llvm-commits at lists.llvm.org
Mon May 2 13:38:02 PDT 2016


bruening created this revision.
bruening added a reviewer: filcab.
bruening added subscribers: zhaoqin, llvm-commits.
Herald added a subscriber: kubabrecka.

Replaces {} with a do..while sequence in esan's empty interceptors to allow
natural use with a trailing semicolon.  The sequence uses each argument to
avoid warnings.

http://reviews.llvm.org/D19832

Files:
  lib/esan/esan_interceptors.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19832.55888.patch
Type: text/x-patch
Size: 11081 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160502/609dbd1f/attachment.bin>


More information about the llvm-commits mailing list