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 | 4583bea0b22d321df535e5d7911c82ecd894ac56 (patch) | |
tree | 3f47a575989d44da8f325a6c414e69d523db758f /clang/lib/Basic/SourceManager.cpp | |
parent | 22c460a0511c98431ae58a501a944cb27965228a (diff) | |
download | llvm-4583bea0b22d321df535e5d7911c82ecd894ac56.zip llvm-4583bea0b22d321df535e5d7911c82ecd894ac56.tar.gz llvm-4583bea0b22d321df535e5d7911c82ecd894ac56.tar.bz2 |
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)
llvm-svn: 182674
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions