projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6da74f
)
Add explicit (void) cast to result of unique_ptr::release()
author
Eric Fiselier
<eric@efcs.ca>
Mon, 14 Nov 2016 07:03:50 +0000
(07:03 +0000)
committer
Eric Fiselier
<eric@efcs.ca>
Mon, 14 Nov 2016 07:03:50 +0000
(07:03 +0000)
llvm-svn: 286796
clang/tools/libclang/CIndex.cpp
patch
|
blob
|
history
diff --git
a/clang/tools/libclang/CIndex.cpp
b/clang/tools/libclang/CIndex.cpp
index
98a6e70
..
b90da16
100644
(file)
--- a/
clang/tools/libclang/CIndex.cpp
+++ b/
clang/tools/libclang/CIndex.cpp
@@
-7761,7
+7761,7
@@
CXTUResourceUsage clang_getCXTUResourceUsage(CXTranslationUnit TU) {
CXTUResourceUsage usage = { (void*) entries.get(),
(unsigned) entries->size(),
!entries->empty() ? &(*entries)[0] : nullptr };
- entries.release();
+
(void)
entries.release();
return usage;
}