commit | fc8f57c31d8336db0ccb2ce8eb9ebf52228a47c1 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Mon Jul 06 22:56:37 2009 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Mon Jul 06 22:56:37 2009 +0000 |
tree | c3a04143ecfe4d399da1bb53aa9534379a1516db | |
parent | 07cdec1cb6fa8920674e80019789ebe58e1c5666 [diff] |
Restructure NewCastRegion to use a switch statement that dispatches off the region type. This better shows the logic of the method and allows the compiler to check if we didn't handle a specific region kind. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74876 91177308-0d34-0410-b5e6-96231b3b80d8