A switch-on-string-literal construct that is a nice alternative to
authorDouglas Gregor <dgregor@apple.com>
Thu, 29 Oct 2009 00:34:30 +0000 (00:34 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 29 Oct 2009 00:34:30 +0000 (00:34 +0000)
commitf25cf3d56f54a1f736db066924e6db886b3f5f3d
treedf5cd1c8a37cd8488b652f27de308e26a0f1fea6
parent1bb95911de8d0821aff16bf0cb1e1dfe43856bf1
A switch-on-string-literal construct that is a nice alternative to
cascading "ifs" of strcmps/memcmps.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85459 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/StringSwitch.h [new file with mode: 0644]