projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Re-unique_ptrify LoadedObjectInfo::clone after it was reverted due to some other...
[oota-llvm.git]
/
include
/
llvm
/
DebugInfo
/
DIContext.h
diff --git
a/include/llvm/DebugInfo/DIContext.h
b/include/llvm/DebugInfo/DIContext.h
index d8830da56b518cdf352cdf036fae088b9a264792..871e60c56b1372af5c7a51f2f57af2ff0cebb040 100644
(file)
--- a/
include/llvm/DebugInfo/DIContext.h
+++ b/
include/llvm/DebugInfo/DIContext.h
@@
-169,7
+169,7
@@
public:
/// Obtain a copy of this LoadedObjectInfo.
///
/// The caller is responsible for deallocation once the copy is no longer required.
- virtual
LoadedObjectInfo *
clone() const = 0;
+ virtual
std::unique_ptr<LoadedObjectInfo>
clone() const = 0;
};
}