aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-08-20 22:39:47 +0000
committerDan Gohman <gohman@apple.com>2010-08-20 22:39:47 +0000
commita3833f18bf897598121ecfb0377f1931d8e03d21 (patch)
treee4c936a1fbfd8d729f2291002c49e4cde35f7d8c
parent55ae515f9db484125a23429d4906c5edaf9f10d2 (diff)
CreateTemporaryType doesn't needs its Context argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111687 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Analysis/DebugInfo.h2
-rw-r--r--lib/Analysis/DebugInfo.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h
index da226273a0..51bede091c 100644
--- a/include/llvm/Analysis/DebugInfo.h
+++ b/include/llvm/Analysis/DebugInfo.h
@@ -655,7 +655,7 @@ namespace llvm {
MDNode *ContainingType = 0);
/// CreateTemporaryType - Create a temporary forward-declared type.
- DIType CreateTemporaryType(DIDescriptor Context);
+ DIType CreateTemporaryType();
/// CreateArtificialType - Create a new DIType with "artificial" flag set.
DIType CreateArtificialType(DIType Ty);
diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp
index 065a00ae60..0bd7904060 100644
--- a/lib/Analysis/DebugInfo.cpp
+++ b/lib/Analysis/DebugInfo.cpp
@@ -937,7 +937,7 @@ DICompositeType DIFactory::CreateCompositeType(unsigned Tag,
/// CreateTemporaryType - Create a temporary forward-declared type.
-DIType DIFactory::CreateTemporaryType(DIDescriptor Context) {
+DIType DIFactory::CreateTemporaryType() {
// Give the temporary MDNode a tag. It doesn't matter what tag we
// use here as long as DIType accepts it.
Value *Elts[] = {