]> granicus.if.org Git - clang/commit
Restructure NewCastRegion to use a switch statement that dispatches off the
authorTed Kremenek <kremenek@apple.com>
Mon, 6 Jul 2009 22:56:37 +0000 (22:56 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 6 Jul 2009 22:56:37 +0000 (22:56 +0000)
commitfc8f57c31d8336db0ccb2ce8eb9ebf52228a47c1
treec3a04143ecfe4d399da1bb53aa9534379a1516db
parent07cdec1cb6fa8920674e80019789ebe58e1c5666
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
lib/Analysis/Store.cpp