Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Code Inspection - Suppres suggestions for .C files

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
alex.postlethwaite Posted - Jun 20 2017 : 06:27:30 AM
I have a code base with a mixture of .c and .cpp files.

In the .c files, there are instances of NULL and the code inspection highlights these for replacement with nullptr.

This is invalid for C, so the ruleset for .C files should be different, or if clang-tidy doesn't support .C code, then analysis should be suppressed for .c files.

What do you think?
3   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Aug 16 2017 : 01:42:14 AM
case=109043 is fixed in build 2231
alex.postlethwaite Posted - Jun 20 2017 : 11:27:30 AM
Great, thank you.
accord Posted - Jun 20 2017 : 06:43:56 AM
Thank you for the feedback. I've put in a bug report for this:

case=109043

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000