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.
Details
Details
- Reviewers
steakhal xazax.hun Szelethus NoQ - Commits
- rG46333f71f8e0: [clang] Satisfy clang v12
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Looks reasonable.
Unfortunate that it regresses readability by a pair of parents. Anyway LGTM.