dce4a407a24b04eebc6a376f8e62b41aaa7b071f |
|
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update LLVM for 3.5 rebase (r209712). Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
/external/llvm/include/llvm/ADT/StringSwitch.h
|
12648bed2873fdf2120b54c5539026ff468283fb |
|
01-Aug-2012 |
Nick Kledzik <kledzik@apple.com> |
Fix shadowed variable warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161097 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringSwitch.h
|
726a3d284ec1949c4ccf77e79ca0506e8a38b05c |
|
19-Aug-2010 |
Sean Hunt <rideau3@gmail.com> |
Finish full attribute class emission for clang. For more information, see the accompanying clang patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111454 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringSwitch.h
|
d01518630ad165e0bc7d7194abb183abfa93e0d5 |
|
11-Dec-2009 |
Gabor Greif <ggreif@gmail.com> |
Simplify this class by removing the result cache. This change removes the DefaultConstructible and CopyAssignable constraints on the template parameter T (the first one). The second template parameter (R) is defaulted to be identical to the first and controls the result type. By specifying it to be (const T&) additionally the CopyConstructible constraint on T can be removed. This allows to use StringSwitch e.g. for llvm::Constant instances. Regarding the other review feedback regarding performance because of taking pointers, this class should be completely optimizable like before, since all methods are inline and the pointer dereferencing and result value caching should be possible behind the scenes by the "as-if" rule. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91123 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringSwitch.h
|
074fe8324dd9533f1cd210091b15719ff67f49c2 |
|
01-Dec-2009 |
Gabor Greif <ggreif@gmail.com> |
typo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90236 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringSwitch.h
|
6c2a7a04da2a6c8829b82cecb355b718f350c4f1 |
|
01-Dec-2009 |
Gabor Greif <ggreif@gmail.com> |
demonstrate usage of Cases() mapping several strings to the same value; remove trailing spaces git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90230 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringSwitch.h
|
2cd8abbf8631921c744d021214dd21998a25a946 |
|
17-Nov-2009 |
Nuno Lopes <nunoplopes@sapo.pt> |
add Case() with 5 args git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89099 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringSwitch.h
|
38424c9b5d464d262aa05adfc899285f86b43275 |
|
10-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add StringSwitch::Cases overloads, for matching multiple strings to a single value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86618 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringSwitch.h
|
7a8b33a9a4da1724a652585ad805ea84a59b90e7 |
|
29-Oct-2009 |
Zhongxing Xu <xuzhongxing@gmail.com> |
add newline to make cl.exe happy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85483 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringSwitch.h
|
f25cf3d56f54a1f736db066924e6db886b3f5f3d |
|
29-Oct-2009 |
Douglas Gregor <dgregor@apple.com> |
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
/external/llvm/include/llvm/ADT/StringSwitch.h
|