summaryrefslogtreecommitdiff
path: root/include/llvm/ADT/StringExtras.h
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2011-07-29 19:06:58 +0000
committerDavid Greene <greened@obbligato.org>2011-07-29 19:06:58 +0000
commitcd0bc905d2c100edbf2f65ac7f1d58353fb1728c (patch)
tree4b0af220de71b60a6a4b8667e3ace829a33d51a1 /include/llvm/ADT/StringExtras.h
parent1619560521c46ecee0ef2d0c651ed18feb57df97 (diff)
downloadllvm-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.h1
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>