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 | 62c31346292888357d82f42bac8e1a0e05c356fb (patch) | |
| tree | e5df21483ca0ef963ee176584ffdb4c93ec7c3be /clang/lib/Sema/SemaDecl.cpp | |
| parent | f277b5d4348402162c0afd064a3bc20ec7c99e3c (diff) | |
| download | bcm5719-llvm-62c31346292888357d82f42bac8e1a0e05c356fb.tar.gz bcm5719-llvm-62c31346292888357d82f42bac8e1a0e05c356fb.zip | |
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.
llvm-svn: 124133
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions

