]> granicus.if.org Git - clang/commit
CodeGen: remove unnecessary else case
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 11 Sep 2016 01:25:15 +0000 (01:25 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 11 Sep 2016 01:25:15 +0000 (01:25 +0000)
commit359c45534e46a8ef263db1a8b855740bbeca6998
treed8676eb3ebc99530b732e628b042ff0131e0d0a5
parent081569d9a29c7bc827b2d41f8e62891bbc895e2f
CodeGen: remove unnecessary else case

Refactor the assignment so that its much more clear that the if-clause contains
the lookup, and once cached is directly used.  NFC.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281150 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp