https://bugs.llvm.org/show_bug.cgi?id=45675
Bug ID: 45675
Summary: source/Plugins/Process/Darwin/CFUtils.h:37:15: error:
No 'return' statement
Product: lldb
Version: 10.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: lldb-...@lists.llvm.org
Reporter: dcb...@hotmail.com
CC: jdevliegh...@apple.com, llvm-bugs@lists.llvm.org
source/Plugins/Process/Darwin/CFUtils.h:37:15: error: No 'return' statement in
non-void function causes undefined behavior. [operatorEqMissingReturnStatement]
Source code is
CFReleaser &operator=(const CFReleaser<T> ©) {
if (copy != *this) {
// Replace our owned pointer with the new one
reset(copy.get());
// Retain the current pointer that we own
if (get())
::CFRetain(get());
}
}
Something of a mystery how that ever compiled.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs