diff options
| author | Ted Kremenek <kremenek@apple.com> | 2008-11-17 22:55:12 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2008-11-17 22:55:12 +0000 |
| commit | 34265e7133ad82148aa9b3ac097ed66728f4ff85 (patch) | |
| tree | c11a2a06cc5aae3260e67fb6c2c7af03ea569a17 /lib/CodeGen/CodeGenModule.cpp | |
| parent | 87d3ef08d892df8264bd51adb6ddd4a22422cd29 (diff) | |
| download | clang-34265e7133ad82148aa9b3ac097ed66728f4ff85.tar.gz clang-34265e7133ad82148aa9b3ac097ed66728f4ff85.tar.bz2 clang-34265e7133ad82148aa9b3ac097ed66728f4ff85.tar.xz | |
Fold assertion into second valid else branch. This removes a compiler warning
where the control reaches the end of a non-void function and also allows the
compiler to generate better code. When this assertion is false we can easily
add more else cases.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59468 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
