Click here to Skip to main content
15,881,204 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
Mark_Wallace19-Mar-20 22:35
Mark_Wallace19-Mar-20 22:35 
GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
Joe Woodbury20-Mar-20 8:28
professionalJoe Woodbury20-Mar-20 8:28 
GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
Greg Utas20-Mar-20 9:27
professionalGreg Utas20-Mar-20 9:27 
GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
kalberts20-Mar-20 11:08
kalberts20-Mar-20 11:08 
GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
Greg Utas20-Mar-20 11:30
professionalGreg Utas20-Mar-20 11:30 
GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
Mark_Wallace19-Mar-20 22:37
Mark_Wallace19-Mar-20 22:37 
GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
Dan Neely20-Mar-20 2:23
Dan Neely20-Mar-20 2:23 
GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
Greg Utas20-Mar-20 4:05
professionalGreg Utas20-Mar-20 4:05 
To follow up on my previous post, many of them were false alarms, but understandably so:
  • object used after being freed: good find!
  • possible nullptr dereference: looks spurious
  • possible memory leaks: didn't realize that each relevant constructor assigns the object to an owner
  • divide by zero: deliberate, to test the ability to handle SIGFPE
  • expression will always evaluate to false: because there is no override of a virtual framework function
  • expression will always evaluate to true: because there is no override of a virtual framework function
  • unreachable code: each one a break after a return Laugh | :laugh:
  • use empty() instead of size() == 0 to check for an empty string: alright
  • operator new and operator delete should be implemented in pairs: didn't realize that internal memory management frameworks use a header that allows a superclass to return the memory to the correct pool or heap


modified 20-Mar-20 11:26am.

GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
Mark_Wallace20-Mar-20 5:13
Mark_Wallace20-Mar-20 5:13 
GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
Greg Utas20-Mar-20 5:29
professionalGreg Utas20-Mar-20 5:29 
GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
kalberts20-Mar-20 6:30
kalberts20-Mar-20 6:30 
GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
Greg Utas20-Mar-20 7:16
professionalGreg Utas20-Mar-20 7:16 
GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
kalberts20-Mar-20 7:43
kalberts20-Mar-20 7:43 
GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
Joe Woodbury20-Mar-20 8:52
professionalJoe Woodbury20-Mar-20 8:52 
GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
kalberts20-Mar-20 6:11
kalberts20-Mar-20 6:11 
GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
Greg Utas20-Mar-20 6:33
professionalGreg Utas20-Mar-20 6:33 
GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
ZurdoDev20-Mar-20 6:12
professionalZurdoDev20-Mar-20 6:12 
GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
Greg Utas20-Mar-20 6:17
professionalGreg Utas20-Mar-20 6:17 
GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
ZurdoDev20-Mar-20 6:19
professionalZurdoDev20-Mar-20 6:19 
GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
Nelek20-Mar-20 8:48
protectorNelek20-Mar-20 8:48 
GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
ZurdoDev20-Mar-20 6:10
professionalZurdoDev20-Mar-20 6:10 
GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
Greg Utas20-Mar-20 6:19
professionalGreg Utas20-Mar-20 6:19 
GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
Kent Sharkey20-Mar-20 6:49
staffKent Sharkey20-Mar-20 6:49 
GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
Joe Woodbury20-Mar-20 8:46
professionalJoe Woodbury20-Mar-20 8:46 
GeneralRe: DeepCode brings AI-powered code review to C and C++ Pin
Greg Utas23-Mar-20 3:44
professionalGreg Utas23-Mar-20 3:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.