commit | b653c52d9176a4faecf923f792758f4454f7f78c | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Nov 06 01:14:41 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Nov 06 01:14:41 2009 +0000 |
tree | b68d6c7221bebdc0cd6b73cd687dc247a3fbbe77 | |
parent | b7a86f5c5f9cdea126817247cc1fd3a7441388da [diff] |
If we have a C-style cast, functional cast, or a static_cast to a class type, don't perform the array-to-pointer or function-to-pointer conversions, because we may end up binding a reference to a function or array. With this change, FileCheck now passes -fsyntax-only! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86211 91177308-0d34-0410-b5e6-96231b3b80d8