Review Request: Convert QPointer in QWeakPointer (Bug 260586)

Nathanaël Restori nathidem at hotmail.com
Wed Dec 29 17:44:58 UTC 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100252/
-----------------------------------------------------------

(Updated 2010-12-29 17:44:58.534696)


Review request for KDevelop.


Changes
-------

New patch with asked changes.


Summary
-------

The patch convert every QPointer in QWeakPointer
In the bug report, Millan Wolff says : "it shows that in GDB the pointer was used quite a lot without being checked,
you should do that at the start of each function, or at least Q_ASSERT on it." but for hardly every function, there is a "Q_ASSERT(thePointer)", a "if (thePointer)" or a "if (!thePointer)"


This addresses bug 260586.
    http://bugs.kde.org/show_bug.cgi?id=260586


Diffs (updated)
-----

  debuggers/gdb/debuggerplugin.h 9144d25 
  debuggers/gdb/debugsession.h 4abbc11 
  debuggers/gdb/debugsession.cpp b050db2 
  debuggers/gdb/gdbcommand.h 63c4c34 
  debuggers/gdb/gdbcommand.cpp c46f0ec 
  debuggers/gdb/gdbvariable.cpp 8e47f6e 
  debuggers/gdb/unittests/gdbtest.cpp 41980e9 
  languages/cpp/codecompletion/model.h 84c1e1e 
  languages/cpp/codegen/codeassistant.h a5cbeb8 
  languages/cpp/codegen/codeassistant.cpp c9a3673 
  languages/cpp/codegen/unresolvedincludeassistant.cpp 9c5872b 

Diff: http://git.reviewboard.kde.org/r/100252/diff


Testing
-------

Only try to compile.


Thanks,

Nathanaël

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20101229/8f990ae9/attachment.html>


More information about the KDevelop-devel mailing list