diff options
author | Zachary Turner <zturner@google.com> | 2016-03-28 22:53:41 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-03-28 22:53:41 +0000 |
commit | d133f6acf14ab84e364baa55ebe3aafecd0451d0 (patch) | |
tree | 3b12690da0ab37bcfa209584525b86049fe28064 /llvm/lib/CodeGen/LiveVariables.cpp | |
parent | ecabac6244f67c477ae2e8f71c41bb12d35e42be (diff) | |
download | llvm-d133f6acf14ab84e364baa55ebe3aafecd0451d0.zip llvm-d133f6acf14ab84e364baa55ebe3aafecd0451d0.tar.gz llvm-d133f6acf14ab84e364baa55ebe3aafecd0451d0.tar.bz2 |
Move some functions from DWARFASTParserClang to ClangASTImporter.
This allows these functions to be re-used by a forthcoming
PDBASTParser. The functions in question are CanCompleteType,
CompleteType, and CanImport. Conceptually, these functions belong
on ClangASTImporter anyway, and previously they were just ping
ponging around through a few levels of indirection to end up there
as well, so this patch actually makes the code somewhat simpler.
A few methods were moved to a new file called ClangUtil, so that
they can be shared between ClangASTImporter and ClangASTContext
without creating a circular dependency between those two cpp
files.
Differential Revision: http://reviews.llvm.org/D18381
llvm-svn: 264685
Diffstat (limited to 'llvm/lib/CodeGen/LiveVariables.cpp')
0 files changed, 0 insertions, 0 deletions