commit | cd7d2e1318f75edc4468a85611db6dfbb30d892c | [log] [tgz] |
---|---|---|
author | Edwin Vane <edwin.vane@intel.com> | Mon May 06 17:27:02 2013 +0000 |
committer | Edwin Vane <edwin.vane@intel.com> | Mon May 06 17:27:02 2013 +0000 |
tree | a6a8c93a64b639a2cefb3408a796d0c7584df4da | |
parent | c836ac6313f4d5641b24030fc5d9e37d17d91bec [diff] |
Added comprehensive macro arg usage logic to Use-Nullptr Transform If a NullTo(Member)Pointer cast results from a macro arg expansion, all uses of the arg must result in such casts or else the macro arg cannot be replaced with 'nullptr' safely. This revision adds logic and tests to ensure the safety of replacing macro args in the Use-Nullptr Transform. Fixes: PR15816 git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@181221 91177308-0d34-0410-b5e6-96231b3b80d8