StringRefs are POD-like.

llvm-svn: 120181
This commit is contained in:
Benjamin Kramer 2010-11-26 14:36:54 +00:00
parent 29ac8e2ecd
commit 4fcd9163fc
1 changed files with 4 additions and 0 deletions

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