[cfe-commits] r168258 - /cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
Benjamin Kramer
benny.kra at googlemail.com
Sat Nov 17 01:14:31 PST 2012
Author: d0k
Date: Sat Nov 17 03:14:31 2012
New Revision: 168258
URL: http://llvm.org/viewvc/llvm-project?rev=168258&view=rev
Log:
Remove copy ctor that provides no value over the default.
It's also simpler to just copy the words than mangling bits like this ctor did.
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=168258&r1=168257&r2=168258&view=diff
==============================================================================
--- cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h (original)
+++ cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h Sat Nov 17 03:14:31 2012
@@ -235,8 +235,6 @@
public:
void dumpToStream(raw_ostream &Out) const;
- Loc(const Loc& X) : DefinedSVal(X.Data, true, X.getSubKind()) {}
-
// Implement isa<T> support.
static inline bool classof(const SVal* V) {
return V->getBaseKind() == LocKind;
More information about the cfe-commits
mailing list