commit | fbcfeeabed6aa60ba664be302f2b03bed3d1b24d | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Mon Jan 24 18:44:28 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Mon Jan 24 18:44:28 2011 +0000 |
tree | 5b28e8d3ecaff48b295b299c94be301fe617db14 | |
parent | a71ef5da3ffbc00dbb92afa8d397ec5a1e7be55e [diff] |
Eliminate the use of getTypeForDecl from clang_getCursorType() and clang_getDeclObjCTypeEncoding(); use ASTContext's methods instead, which will (lazily) create the type as needed. Otherwise, we can end up with null QualTypes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124133 91177308-0d34-0410-b5e6-96231b3b80d8