commit | 8d344ae81aeae1f2e4f21eddd1021acdca85abd7 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Fri Jul 10 21:24:45 2009 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Fri Jul 10 21:24:45 2009 +0000 |
tree | 27f809569abe0d395e6334d874b5b363e896ba77 | |
parent | 3f9811b46abcbb34c76d0e742dd31f899312d2bf [diff] |
Revert r75281 and simply remove the assertion in NewCastRegion that CodeTextRegions can only be casted to FunctionPointer or BlockPointerTypes. This simply isn't true. We can handle bogus operations on CodeTextRegions (e.g, an array access) elsewhere. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75285 91177308-0d34-0410-b5e6-96231b3b80d8