]> granicus.if.org Git - clang/commitdiff
[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176229 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 03e84447e7b9e0ca728f94ea20b13ffec4b79c82..8182f2e565301bd0cc301e4bce38bafccff1beef 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