From 4879e49c8ed6268a2de1d1c8b2a6b480d85a8b06 Mon Sep 17 00:00:00 2001 From: Jordan Rose Date: Thu, 28 Feb 2013 01:53:03 +0000 Subject: [PATCH] [analyzer] Mark the root SVal class as isPodLike. 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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h b/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h index 03e8444..8182f2e 100644 --- a/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h +++ b/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h @@ -555,6 +555,11 @@ static inline raw_ostream &operator<<(raw_ostream &os, return os; } +template struct isPodLike; +template <> struct isPodLike { + static const bool value = true; +}; + } // end llvm namespace #endif -- 2.7.4