mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
CreateTemporaryType doesn't needs its Context argument.
llvm-svn: 111687
This commit is contained in:
parent
163660135e
commit
31ab7e6b8c
@ -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);
|
||||
|
@ -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[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user