commit | 80bbd57b4cb7ecddfdfa6d1e2ac114b41e02adf3 | [log] [tgz] |
---|---|---|
author | Daniel Marjamaki <daniel.marjamaki@evidente.se> | Tue Oct 18 13:16:53 2016 +0000 |
committer | Devin Coughlin <dcoughlin@apple.com> | Thu Oct 20 11:52:00 2016 -0700 |
tree | 2a3fe5f9039f8d1a8b77582ae2eb6e3fa68cb929 | |
parent | c73c88efd632ff3affc2d6627b02f86bd81cc8fb [diff] |
alpha.core.UnreachableCode - don't warn about unreachable code inside macro In macros, 'do {...} while (0)' is often used. Don't warn about the condition 0 when it is unreachable. Differential Revision: https://reviews.llvm.org/D25606 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@284477 91177308-0d34-0410-b5e6-96231b3b80d8 (cherry picked from commit a56684f9d508e1d4c80eb238f712762f23247a27)