[llvm-bugs] [Bug 47038] New: Add check for missing comma in string array initialization
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Aug 7 07:22:01 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=47038
Bug ID: 47038
Summary: Add check for missing comma in string array
initialization
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Static Analyzer
Assignee: dcoughlin at apple.com
Reporter: llvm-dev at redking.me.uk
CC: aaron at aaronballman.com, david.bolvansky at gmail.com,
dcoughlin at apple.com, llvm-bugs at lists.llvm.org,
noqnoqneo at gmail.com
Inspired by [Bug #47030], we should check if there are missing commas in string
lists, which will result in implicit concatenation of those strings.
const llvm::StringSet<> StandardMoveSafeClasses = {
"basic_filebuf",
"basic_ios",
"future",
"optional",
"packaged_task" // <<< MISSING COMMA
"promise",
"shared_future",
"shared_lock",
"shared_ptr",
"thread",
"unique_ptr",
"unique_lock",
"weak_ptr",
};
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200807/31eeda16/attachment.html>
More information about the llvm-bugs
mailing list