commit | a850594e8be4f3a3cb7c4d404b8434dfb3844ec8 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Dec 14 19:34:32 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Dec 14 19:34:32 2009 +0000 |
tree | 1d1182ac2a41e0ef5e4b5544d15f21c9b8d554cd | |
parent | 5dbe26aa8326068823cb9481972426dca151c3cc [diff] |
fix an obvious bug found by clang++ and collapse a redundant if. Here's the diagnostic from clang: /Volumes/Data/dgregor/Projects/llvm/lib/Target/CppBackend/CPPBackend.cpp:989:23: warning: 'gv' is always NULL in this context printConstant(gv); ^ 1 diagnostic generated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91318 91177308-0d34-0410-b5e6-96231b3b80d8