<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:djasper@google.com" title="Daniel Jasper <djasper@google.com>"> <span class="fn">Daniel Jasper</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - clang-format produces ugly results after rearranging function arguments containing raw strings."
   href="https://bugs.llvm.org/show_bug.cgi?id=32928">bug 32928</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>WONTFIX
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - clang-format produces ugly results after rearranging function arguments containing raw strings."
   href="https://bugs.llvm.org/show_bug.cgi?id=32928#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - clang-format produces ugly results after rearranging function arguments containing raw strings."
   href="https://bugs.llvm.org/show_bug.cgi?id=32928">bug 32928</a>
              from <span class="vcard"><a class="email" href="mailto:djasper@google.com" title="Daniel Jasper <djasper@google.com>"> <span class="fn">Daniel Jasper</span></a>
</span></b>
        <pre>There isn't a good solution, as clang-format must not change the content of the
raw string literal as that would change the program's behavior (potentially).
We also won't get into the business of analyzing the raw string for where there
might be something to align to in it.

The one thing that clang-format already does is that it will respect your
line-break choices around 'R"('. So, I suggest manually reformatting this to:

test_app_dir.WriteManifest(base::StringPrintf(
    R"({
      "name": "Hosted App vs TDI Test",
      "version": "1",
      "manifest_version": 2,
      "app": {
        "launch": {
          "web_url": "%s"
        },
        "urls": ["*://app.site.com/frame_tree"]
      }
    })",
    url.spec().c_str()));</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>