Skip to content
  • Ted Kremenek's avatar
    Fix <rdar://problem/6451816>: · 300c9cc8
    Ted Kremenek authored
    - Because of the introduction of AnonTypedRegions when reasoning about casts, we
      had a regression in the "symbolication" of variable values passed-by-reference
      to a function. This is now fixed in CFRefCount.cpp (-checker-cfref) by
      blasting through the layer of AnonTypedRegions when symbolicating the value of
      the variable. This logic may get moved elsewhere. Note that this change
      affects only -checker-cfref and not -checker-simple; eventually this logic
      should get pulled out of CFRefCount.cpp into a more common place. All users
      use -checker-cfref by default, and -checker-simple should probably just be
      removed.  
    - Updated test 'Analysis/uninit-vals-ps.c' to only use -checker-cfref and added
      a test case for this regression.
    
    llvm-svn: 61147
    300c9cc8
Loading