r176229 - [analyzer] Mark the root SVal class as isPodLike.
Jordan Rose
jordan_rose at apple.com
Wed Feb 27 17:53:03 PST 2013
Author: jrose
Date: Wed Feb 27 19:53:03 2013
New Revision: 176229
URL: http://llvm.org/viewvc/llvm-project?rev=176229&view=rev
Log:
[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.
Modified:
cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
Modified: cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h?rev=176229&r1=176228&r2=176229&view=diff
==============================================================================
--- cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h (original)
+++ cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h Wed Feb 27 19:53:03 2013
@@ -555,6 +555,11 @@ static inline raw_ostream &operator<<(ra
return os;
}
+template <typename T> struct isPodLike;
+template <> struct isPodLike<clang::ento::SVal> {
+ static const bool value = true;
+};
+
} // end llvm namespace
#endif
More information about the cfe-commits
mailing list