Skip to content

Commit ec2d780

Browse files
authored
Fix variable name
1 parent 343cd47 commit ec2d780

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ class DerefBugType : public BugType {
3030
StringRef ArrayMsg, FieldMsg;
3131

3232
public:
33-
DerefBugType(CheckerFrontend *FE, StringRef Desc, const char *RMsg,
33+
DerefBugType(CheckerFrontend *FE, StringRef Desc, const char *AMsg,
3434
const char *FMsg = nullptr)
35-
: BugType(FE, Desc), ArrayMsg(RMsg), FieldMsg(FMsg ? FMsg : RMsg) {}
35+
: BugType(FE, Desc), ArrayMsg(AMsg), FieldMsg(FMsg ? FMsg : AMsg) {}
3636
StringRef getArrayMsg() const { return ArrayMsg; }
3737
StringRef getFieldMsg() const { return FieldMsg; }
3838
};

0 commit comments

Comments
 (0)