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)
commit4fab7454c5480bc68732ba456bb3aff3ffdedfa0
tree0476aa398b3b8063d45db97d7d617639330b43d7
parente45b9a8c992e49fd42cc673b96ba08a44bc74d07
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.

llvm-svn: 281150
clang/lib/CodeGen/CodeGenModule.cpp