diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2009-02-07 04:57:08 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2009-02-07 04:57:08 +0000 |
commit | f996831427009c5abe37f0af9d9632ef60f181e2 (patch) | |
tree | 765c3b858ea2a592ad7bd4259c6b82112dc80a22 /include/llvm | |
parent | f344d83d3956255382b43690a147e1ce26b9fcd8 (diff) |
Add an API for strings with possible NULLs in the middle. Refactor the other
two AddString methods to use it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64005 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/ADT/FoldingSet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/ADT/FoldingSet.h b/include/llvm/ADT/FoldingSet.h index d6010adfb9..e07c0a0cea 100644 --- a/include/llvm/ADT/FoldingSet.h +++ b/include/llvm/ADT/FoldingSet.h @@ -225,6 +225,7 @@ public: void AddInteger(unsigned long I); void AddInteger(long long I); void AddInteger(unsigned long long I); + void AddString(const char* String, const char* End); void AddString(const std::string &String); void AddString(const char* String); |