<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add check for missing comma in string array initialization"
   href="https://bugs.llvm.org/show_bug.cgi?id=47038">47038</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Add check for missing comma in string array initialization
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Static Analyzer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dcoughlin@apple.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>llvm-dev@redking.me.uk
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>aaron@aaronballman.com, david.bolvansky@gmail.com, dcoughlin@apple.com, llvm-bugs@lists.llvm.org, noqnoqneo@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Inspired by [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - A suspicious string consisting of two parts is used for array initialization. It is possible that a comma is missing.(llvm-project/clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp:line 107)"
   href="show_bug.cgi?id=47030">Bug #47030</a>], 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",
  };</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>