summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/GRExprEngineInternalChecks.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-11-11 20:16:36 +0000
committerTed Kremenek <kremenek@apple.com>2009-11-11 20:16:36 +0000
commit7cf8238291279cd8588d6b6f73e9ef3432acb66e (patch)
treebc477ef5988f9ce5883b482f0860aeaffd10154d /clang/lib/Analysis/GRExprEngineInternalChecks.cpp
parent9f34406a904815cd2e0b4ac1dd08845ccebd8a9f (diff)
downloadbcm5719-llvm-7cf8238291279cd8588d6b6f73e9ef3432acb66e.tar.gz
bcm5719-llvm-7cf8238291279cd8588d6b6f73e9ef3432acb66e.zip
Remove some stale ErrorNodes variables in GRExprEngine and the old buffer overflow logic in GRExprEngineInternalChecks.cpp.
llvm-svn: 86877
Diffstat (limited to 'clang/lib/Analysis/GRExprEngineInternalChecks.cpp')
-rw-r--r--clang/lib/Analysis/GRExprEngineInternalChecks.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/clang/lib/Analysis/GRExprEngineInternalChecks.cpp b/clang/lib/Analysis/GRExprEngineInternalChecks.cpp
index 984526c908a..dc01b96d92c 100644
--- a/clang/lib/Analysis/GRExprEngineInternalChecks.cpp
+++ b/clang/lib/Analysis/GRExprEngineInternalChecks.cpp
@@ -361,17 +361,6 @@ public:
}
};
-class VISIBILITY_HIDDEN OutOfBoundMemoryAccess : public BuiltinBug {
-public:
- OutOfBoundMemoryAccess(GRExprEngine* eng)
- : BuiltinBug(eng,"Out-of-bounds memory access",
- "Load or store into an out-of-bound memory position.") {}
-
- void FlushReportsImpl(BugReporter& BR, GRExprEngine& Eng) {
- Emit(BR, Eng.explicit_oob_memacc_begin(), Eng.explicit_oob_memacc_end());
- }
-};
-
} // end clang namespace
//===----------------------------------------------------------------------===//
@@ -388,7 +377,6 @@ void GRExprEngine::RegisterInternalChecks() {
BR.Register(new UndefResult(this));
BR.Register(new BadMsgExprArg(this));
BR.Register(new BadReceiver(this));
- BR.Register(new OutOfBoundMemoryAccess(this));
BR.Register(new NilReceiverStructRet(this));
BR.Register(new NilReceiverLargerThanVoidPtrRet(this));
OpenPOWER on IntegriCloud