diff options
| author | Dinesh Dwivedi <dinesh.d@samsung.com> | 2014-05-05 13:14:35 +0000 |
|---|---|---|
| committer | Dinesh Dwivedi <dinesh.d@samsung.com> | 2014-05-05 13:14:35 +0000 |
| commit | f58cd1f9682be8b31d3f3c9b0ee8e48a01d88082 (patch) | |
| tree | 6cf1e3ac0161096f6556f7d53ea45545fb7640db /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 01d8eaed85652249c02298215cf3a9e49a1eb16a (diff) | |
| download | clang-f58cd1f9682be8b31d3f3c9b0ee8e48a01d88082.tar.gz clang-f58cd1f9682be8b31d3f3c9b0ee8e48a01d88082.tar.bz2 clang-f58cd1f9682be8b31d3f3c9b0ee8e48a01d88082.tar.xz | |
Added some heuristics to identify c style casting
Before:
void f() { my_int a = (my_int) * b; }
void f() { return P ? (my_int) * P : (my_int)0; }
After:
void f() { my_int a = (my_int)*b; }
void f() { return P ? (my_int)*P : (my_int)0; }
Differential Revision: http://reviews.llvm.org/D3576
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207964 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
