diff options
author | Chris Lattner <sabre@nondot.org> | 2009-10-25 17:16:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-10-25 17:16:46 +0000 |
commit | 10ca337b1e3684547bd21021a23a566f30fa83b4 (patch) | |
tree | c28edb3ea39604c57f50ad9a4a6b59d0dbc26b2c /lib/CodeGen/CodeGenModule.cpp | |
parent | b7c3fd7b493329550c29dec11d31aca4d537e23e (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