aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGDebugInfo.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-11-08 06:12:46 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-11-08 06:12:46 +0000
commit960627da5a98e788045b81cb32a7db7290c76c35 (patch)
treec71d91be95b66f1faa753f640cb8a5291f3cbff6 /lib/CodeGen/CGDebugInfo.h
parent1d75118af76cae2bfc06389cde410e14bd0a19fc (diff)
Avoid redundant cast<>s / simplify type dispatch.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58892 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.h')
-rw-r--r--lib/CodeGen/CGDebugInfo.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/CodeGen/CGDebugInfo.h b/lib/CodeGen/CGDebugInfo.h
index b6a35449d8..17db496c23 100644
--- a/lib/CodeGen/CGDebugInfo.h
+++ b/lib/CodeGen/CGDebugInfo.h
@@ -79,20 +79,20 @@ private:
/// Helper functions for getOrCreateType.
llvm::TypeDesc *getOrCreateCVRType(QualType type,
llvm::CompileUnitDesc *unit);
- llvm::TypeDesc *getOrCreateBuiltinType(QualType type,
+ llvm::TypeDesc *getOrCreateBuiltinType(const BuiltinType *type,
llvm::CompileUnitDesc *unit);
- llvm::TypeDesc *getOrCreateTypedefType(QualType type,
+ llvm::TypeDesc *getOrCreateTypedefType(const TypedefType *type,
llvm::CompileUnitDesc *unit);
- llvm::TypeDesc *getOrCreatePointerType(QualType type,
+ llvm::TypeDesc *getOrCreatePointerType(const PointerType *type,
llvm::CompileUnitDesc *unit);
llvm::TypeDesc *getOrCreateFunctionType(QualType type,
llvm::CompileUnitDesc *unit);
- void getOrCreateRecordType(QualType type,
+ void getOrCreateRecordType(const RecordType *type,
llvm::CompileUnitDesc *unit,
llvm::TypeDesc *&Slot);
- llvm::TypeDesc *getOrCreateEnumType(QualType type,
+ llvm::TypeDesc *getOrCreateEnumType(const EnumType *type,
llvm::CompileUnitDesc *unit);
- void getOrCreateTaggedType(QualType type,
+ void getOrCreateTagType(const TagType *type,
llvm::CompileUnitDesc *unit,
llvm::TypeDesc *&Slot);
llvm::TypeDesc *getOrCreateArrayType(QualType type,