StringRefs are POD-like.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120181 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2010-11-26 14:36:54 +00:00
parent b9dec1f928
commit 847d2f93ca

View File

@ -437,6 +437,10 @@ namespace llvm {
/// @}
// StringRefs can be treated like a POD type.
template <typename T> struct isPodLike;
template <> struct isPodLike<StringRef> { static const bool value = true; };
}
#endif