[PATCH] D154871: [clang] Satisfy clang v12
Ashay Rane via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 10 11:21:16 PDT 2023
ashay-github created this revision.
ashay-github added reviewers: steakhal, xazax.hun, Szelethus.
Herald added a subscriber: martong.
Herald added a reviewer: NoQ.
Herald added a project: All.
ashay-github requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Older versions of clang (for example, v12) throw an error when compiling
CStringChecker.cpp that the initializers for `SourceArgExpr`,
`DestinationArgExpr`, and `SizeArgExpr` are missing braces around
initialization of subobject. Newer clang versions don't throw this
error. This patch adds the initialization braces to satisfy clang.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D154871
Files:
clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154871.538747.patch
Type: text/x-patch
Size: 6784 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230710/167e550a/attachment.bin>
More information about the cfe-commits
mailing list