diff options
Diffstat (limited to 'llvm/lib/IR/DebugInfoMetadata.cpp')
| -rw-r--r-- | llvm/lib/IR/DebugInfoMetadata.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/llvm/lib/IR/DebugInfoMetadata.cpp b/llvm/lib/IR/DebugInfoMetadata.cpp index f6dfbf6cfa5..ab79a713357 100644 --- a/llvm/lib/IR/DebugInfoMetadata.cpp +++ b/llvm/lib/IR/DebugInfoMetadata.cpp @@ -298,24 +298,24 @@ MDNamespace *MDNamespace::getImpl(LLVMContext &Context, Metadata *Scope, DEFINE_GETIMPL_STORE(MDNamespace, (Line), Ops); } -MDTemplateTypeParameter * -MDTemplateTypeParameter::getImpl(LLVMContext &Context, Metadata *Scope, - MDString *Name, Metadata *Type, - StorageType Storage, bool ShouldCreate) { +MDTemplateTypeParameter *MDTemplateTypeParameter::getImpl(LLVMContext &Context, + MDString *Name, + Metadata *Type, + StorageType Storage, + bool ShouldCreate) { assert(isCanonical(Name) && "Expected canonical MDString"); - DEFINE_GETIMPL_LOOKUP(MDTemplateTypeParameter, - (Scope, getString(Name), Type)); - Metadata *Ops[] = {Scope, Name, Type}; + DEFINE_GETIMPL_LOOKUP(MDTemplateTypeParameter, (getString(Name), Type)); + Metadata *Ops[] = {Name, Type}; DEFINE_GETIMPL_STORE_NO_CONSTRUCTOR_ARGS(MDTemplateTypeParameter, Ops); } MDTemplateValueParameter *MDTemplateValueParameter::getImpl( - LLVMContext &Context, unsigned Tag, Metadata *Scope, MDString *Name, - Metadata *Type, Metadata *Value, StorageType Storage, bool ShouldCreate) { + LLVMContext &Context, unsigned Tag, MDString *Name, Metadata *Type, + Metadata *Value, StorageType Storage, bool ShouldCreate) { assert(isCanonical(Name) && "Expected canonical MDString"); DEFINE_GETIMPL_LOOKUP(MDTemplateValueParameter, - (Tag, Scope, getString(Name), Type, Value)); - Metadata *Ops[] = {Scope, Name, Type, Value}; + (Tag, getString(Name), Type, Value)); + Metadata *Ops[] = {Name, Type, Value}; DEFINE_GETIMPL_STORE(MDTemplateValueParameter, (Tag), Ops); } |

