[PATCH] D67149: Fix argument order for BugType instation for
David selivanov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 4 02:26:31 PDT 2019
rtmpdavid created this revision.
rtmpdavid added a reviewer: MTC.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
There is a mixup in this specific one, name and category are in incorrect order
Repository:
rC Clang
https://reviews.llvm.org/D67149
Files:
clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
Index: clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
===================================================================
--- clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
+++ clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
@@ -567,7 +567,7 @@
if (!BT_Overlap)
BT_Overlap.reset(new BugType(Filter.CheckNameCStringBufferOverlap,
- categories::UnixAPI, "Improper arguments"));
+ "Improper arguments", categories::UnixAPI));
// Generate a report for this bug.
auto report = std::make_unique<BugReport>(
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67149.218622.patch
Type: text/x-patch
Size: 600 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190904/b334b733/attachment.bin>
More information about the cfe-commits
mailing list