Skip to content
  • Anna Zaks's avatar
    [analyzer] Malloc: reason about the ObjC messages and C++. · 7ac344a4
    Anna Zaks authored
    Assume none of the ObjC messages defined in system headers free memory,
    except for the ones containing 'freeWhenDone' selector. Currently, just
    assume that the region escapes to the messages with 'freeWhenDone'
    (ideally, we want to treat it as 'free()').
    
    For now, always assume that regions escape when passed to C++ methods.
    
    llvm-svn: 151410
    7ac344a4
Loading