Menu

Global configuration for leak-ignore

Siddharth
2019-01-09
2019-01-11
  • Siddharth

    Siddharth - 2019-01-09

    Is there a way to have a global configuration that says leak-ignore for all functions ? None of the parameters to passed to any function are deallocated by the function. I know we can plugin every function [with leak-ignore set] to a .cfg file but that would be a huge effort if cppcheck is to be used over an existing code base.

    I read the manual but didn't find anything there.

    Thanks
    Siddharth

     
  • versat

    versat - 2019-01-11

    As far as i know it is not possible to globally enable leak-ignore for all functions.
    I do not see any use case at the moment. Could you describe your use case and the need for such an option?
    Maybe it is useful to add this functionality to Cppcheck, then we could create a ticket for it.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.