aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-10-25 17:16:46 +0000
committerChris Lattner <sabre@nondot.org>2009-10-25 17:16:46 +0000
commit10ca337b1e3684547bd21021a23a566f30fa83b4 (patch)
treec28edb3ea39604c57f50ad9a4a6b59d0dbc26b2c /lib/CodeGen/CodeGenModule.cpp
parentb7c3fd7b493329550c29dec11d31aca4d537e23e (diff)
simplify Sema::getTypeName a bit: if control gets out of the switch,
IIDecl cannot be null. There is no need to check for both C++ mode and presence of CXXRecordDecl. ObjC interfaces can't have ScopeSpecs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85057 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions