diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-01-24 18:44:28 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-01-24 18:44:28 +0000 |
commit | fbcfeeabed6aa60ba664be302f2b03bed3d1b24d (patch) | |
tree | 5b28e8d3ecaff48b295b299c94be301fe617db14 /lib/Frontend/CompilerInvocation.cpp | |
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
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions