[analyzer] Mark the root SVal class as isPodLike.
authorJordan Rose <jordan_rose@apple.com>
Thu, 28 Feb 2013 01:53:03 +0000 (01:53 +0000)
committerJordan Rose <jordan_rose@apple.com>
Thu, 28 Feb 2013 01:53:03 +0000 (01:53 +0000)
Pure optimization, no functionality change. Probably does not make much
of a difference, but it's free.

llvm-svn: 176229

clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h

index 03e8444..8182f2e 100644 (file)
@@ -555,6 +555,11 @@ static inline raw_ostream &operator<<(raw_ostream &os,
   return os;
 }
 
+template <typename T> struct isPodLike;
+template <> struct isPodLike<clang::ento::SVal> {
+  static const bool value = true;
+};
+
 } // end llvm namespace
 
 #endif