diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2015-06-21 13:59:01 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2015-06-21 13:59:01 +0000 | 
| commit | 3a0822f094b578157263e04114075ad7df81db41 (patch) | |
| tree | bc48361fe2cd1ca5f93ac01b38b183774468fc79 /lib/IR/DIBuilder.cpp | |
| parent | 85d8b2bbe386bcfe669575d05b61482d7be07e5d (diff) | |
Notes
Diffstat (limited to 'lib/IR/DIBuilder.cpp')
| -rw-r--r-- | lib/IR/DIBuilder.cpp | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/lib/IR/DIBuilder.cpp b/lib/IR/DIBuilder.cpp index b1925ea5c48f6..c41d84492b865 100644 --- a/lib/IR/DIBuilder.cpp +++ b/lib/IR/DIBuilder.cpp @@ -55,7 +55,7 @@ public:      return HeaderBuilder().concat("0x" + Twine::utohexstr(Tag));    }  }; -} +} // namespace  DIBuilder::DIBuilder(Module &m, bool AllowUnresolvedNodes)      : M(m), VMContext(M.getContext()), TempEnumTypes(nullptr), @@ -327,7 +327,8 @@ DIBuilder::createObjCProperty(StringRef Name, DIFile *File, unsigned LineNumber,                                StringRef GetterName, StringRef SetterName,                                unsigned PropertyAttributes, DIType *Ty) {    return DIObjCProperty::get(VMContext, Name, File, LineNumber, GetterName, -                             SetterName, PropertyAttributes, Ty); +                             SetterName, PropertyAttributes, +                             DITypeRef::get(Ty));  }  DITemplateTypeParameter * | 
