diff options
author | David Greene <greened@obbligato.org> | 2011-07-29 19:06:58 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2011-07-29 19:06:58 +0000 |
commit | cd0bc905d2c100edbf2f65ac7f1d58353fb1728c (patch) | |
tree | 4b0af220de71b60a6a4b8667e3ace829a33d51a1 /include/llvm/ADT/StringExtras.h | |
parent | 1619560521c46ecee0ef2d0c651ed18feb57df97 (diff) | |
download | llvm-cd0bc905d2c100edbf2f65ac7f1d58353fb1728c.tar.gz llvm-cd0bc905d2c100edbf2f65ac7f1d58353fb1728c.tar.bz2 llvm-cd0bc905d2c100edbf2f65ac7f1d58353fb1728c.tar.xz |
Add a std::string Wrapper for TableGen
Create a std::string wrapper for use as a DenseMap key. DenseMap is
not safe in generate with strings, so this wrapper indicates that only
strings guaranteed not to have certain values should be used in the
DenseMap.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136481 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/StringExtras.h')
-rw-r--r-- | include/llvm/ADT/StringExtras.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/ADT/StringExtras.h b/include/llvm/ADT/StringExtras.h index 5f5c04187a..d01d3e1d6b 100644 --- a/include/llvm/ADT/StringExtras.h +++ b/include/llvm/ADT/StringExtras.h @@ -16,6 +16,7 @@ #include "llvm/Support/DataTypes.h" #include "llvm/ADT/APFloat.h" +#include "llvm/ADT/DenseMapInfo.h" #include "llvm/ADT/StringRef.h" #include <cctype> #include <cstdio> |