CreateTemporaryType doesn't needs its Context argument.
authorDan Gohman <gohman@apple.com>
Fri, 20 Aug 2010 22:39:47 +0000 (22:39 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 20 Aug 2010 22:39:47 +0000 (22:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111687 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DebugInfo.h
lib/Analysis/DebugInfo.cpp

index da226273a019152b680bff1372dbe5bfb863ae23..51bede091c1fb85075936d28371c239eea8cc0a7 100644 (file)
@@ -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);
index 065a00ae609c94f89f16baa6411ccbb25482500f..0bd7904060a18836d71470e1750b426a8927a112 100644 (file)
@@ -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[] = {