aboutsummaryrefslogtreecommitdiff
path: root/lib/Checker/PointerArithChecker.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-12-20 21:19:09 +0000
committerTed Kremenek <kremenek@apple.com>2010-12-20 21:19:09 +0000
commitd048c6ef5b6cfaa0cecb8cc1d4bdace32ed21d07 (patch)
tree603448a0e4c579fe80d310bf160f3fdba68c7515 /lib/Checker/PointerArithChecker.cpp
parent21a288f2ee8673d91e2d0b7d5aaca567c332de13 (diff)
Rename 'Generate[Node,Sink]' to 'generate[Node,Sink]'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122270 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/PointerArithChecker.cpp')
-rw-r--r--lib/Checker/PointerArithChecker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Checker/PointerArithChecker.cpp b/lib/Checker/PointerArithChecker.cpp
index cbac423b46..29f90caf34 100644
--- a/lib/Checker/PointerArithChecker.cpp
+++ b/lib/Checker/PointerArithChecker.cpp
@@ -53,7 +53,7 @@ void PointerArithChecker::PreVisitBinaryOperator(CheckerContext &C,
if (isa<VarRegion>(LR) || isa<CodeTextRegion>(LR) ||
isa<CompoundLiteralRegion>(LR)) {
- if (ExplodedNode *N = C.GenerateNode()) {
+ if (ExplodedNode *N = C.generateNode()) {
if (!BT)
BT = new BuiltinBug("Dangerous pointer arithmetic",
"Pointer arithmetic done on non-array variables "