commit | 10ca337b1e3684547bd21021a23a566f30fa83b4 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Oct 25 17:16:46 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Oct 25 17:16:46 2009 +0000 |
tree | c28edb3ea39604c57f50ad9a4a6b59d0dbc26b2c | |
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