diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-09-19 19:27:14 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-09-19 19:27:14 +0000 |
commit | de870bdcf2da78ca5179df52bd1ebd5b41200658 (patch) | |
tree | 28c10edd11165cfcdd4737df98c84d614409abb8 /clang/lib/CodeGen/CGDebugInfo.h | |
parent | 3b8bd05081c9969cca43033782a1f984a12ae41d (diff) | |
download | bcm5719-llvm-de870bdcf2da78ca5179df52bd1ebd5b41200658.tar.gz bcm5719-llvm-de870bdcf2da78ca5179df52bd1ebd5b41200658.zip |
Factor out CGDebugInfo::CreateTypeNode method.
- No functionality change.
llvm-svn: 82320
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.h')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h index 682f7aedd87..3308a6b952c 100644 --- a/clang/lib/CodeGen/CGDebugInfo.h +++ b/clang/lib/CodeGen/CGDebugInfo.h @@ -121,6 +121,9 @@ private: /// getOrCreateType - Get the type from the cache or create a new type if /// necessary. llvm::DIType getOrCreateType(QualType Ty, llvm::DICompileUnit Unit); + + /// CreateTypeNode - Create type metadata for a source language type. + llvm::DIType CreateTypeNode(QualType Ty, llvm::DICompileUnit Unit); }; } // namespace CodeGen } // namespace clang |