summaryrefslogtreecommitdiffstats
path: root/clang/lib/Checker/CastToStructChecker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Checker/CastToStructChecker.cpp')
-rw-r--r--clang/lib/Checker/CastToStructChecker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Checker/CastToStructChecker.cpp b/clang/lib/Checker/CastToStructChecker.cpp
index eeaed970b53..f85782d81e4 100644
--- a/clang/lib/Checker/CastToStructChecker.cpp
+++ b/clang/lib/Checker/CastToStructChecker.cpp
@@ -60,7 +60,7 @@ void CastToStructChecker::PreVisitCastExpr(CheckerContext &C,
// Now the cast-to-type is struct pointer, the original type is not void*.
if (!OrigPointeeTy->isRecordType()) {
- if (ExplodedNode *N = C.GenerateNode()) {
+ if (ExplodedNode *N = C.generateNode()) {
if (!BT)
BT = new BuiltinBug("Cast from non-struct type to struct type",
"Casting a non-structure type to a structure type "
OpenPOWER on IntegriCloud