summaryrefslogtreecommitdiffstats
path: root/clang/include
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-07-25 22:09:19 +0000
committerTed Kremenek <kremenek@apple.com>2012-07-25 22:09:19 +0000
commit80b4ac76c5a7b99c143cd89f13ca192d24c51c2f (patch)
tree0b71205e28336c8b89224d65fea6e424315556b6 /clang/include
parent2aa45cf43eab5239b119d2464cd662af73625d62 (diff)
downloadbcm5719-llvm-80b4ac76c5a7b99c143cd89f13ca192d24c51c2f.tar.gz
bcm5719-llvm-80b4ac76c5a7b99c143cd89f13ca192d24c51c2f.zip
Remove the ability to stash arbitrary pointers into UndefinedVal (no longer needed).
llvm-svn: 160764
Diffstat (limited to 'clang/include')
-rw-r--r--clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h b/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
index e495d15d352..e4626577280 100644
--- a/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
+++ b/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
@@ -163,13 +163,10 @@ public:
class UndefinedVal : public SVal {
public:
UndefinedVal() : SVal(UndefinedKind) {}
- UndefinedVal(const void *D) : SVal(UndefinedKind, D) {}
static inline bool classof(const SVal* V) {
return V->getBaseKind() == UndefinedKind;
}
-
- const void *getData() const { return Data; }
};
class DefinedOrUnknownSVal : public SVal {
OpenPOWER on IntegriCloud