aboutsummaryrefslogtreecommitdiff
path: root/lib/Checker/PointerArithChecker.cpp
diff options
context:
space:
mode:
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 "