diff options
| author | David Blaikie <dblaikie@gmail.com> | 2013-05-24 21:33:22 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2013-05-24 21:33:22 +0000 |
| commit | b0f77b065761670921fdf9c56029856cb5d9c306 (patch) | |
| tree | fd7e5c1d3052ec76f50d6a89c70a9a428a32e0a8 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 912964863c344dd84976ee281bd213d0485645ba (diff) | |
| download | clang-b0f77b065761670921fdf9c56029856cb5d9c306.tar.gz clang-b0f77b065761670921fdf9c56029856cb5d9c306.tar.bz2 clang-b0f77b065761670921fdf9c56029856cb5d9c306.tar.xz | |
DebugInfo: Rename CreatePointerType to getOrCreateTypeDeclaration
To make this more consistent with 'getOrCreateType' & clarify the
distinction between the two. The only thing I couldn't quite communicate
in the name is that getOrCreateTypeDeclaration may actually produce a
full definition (in -fno-limit-debug-info) but the point is to call it
whenever only a declaration is needed & the implementation can choose
whether to provide a declaration or definition.
(also, unfortunately, getOrCreateType can produce declarations too - we
should sure this up by making it not do that - any caller that can
tolerate a declaration should be calling getOrCreateTypeDeclaration
instead)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182674 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
