summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-05-24 21:33:22 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-05-24 21:33:22 +0000
commitb0f77b065761670921fdf9c56029856cb5d9c306 (patch)
treefd7e5c1d3052ec76f50d6a89c70a9a428a32e0a8 /lib/CodeGen/CGExpr.cpp
parent912964863c344dd84976ee281bd213d0485645ba (diff)
downloadclang-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/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions