<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - clang_codeCompleteAt does not honor changed files on disk"
   href="https://llvm.org/bugs/show_bug.cgi?id=28536">28536</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang_codeCompleteAt does not honor changed files on disk
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>3.8
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>libclang
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>nikolai.kosjar@qt.io
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>klimek@google.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=16737" name="attach_16737" title="source to reproduce and test input files">attachment 16737</a> <a href="attachment.cgi?id=16737&action=edit" title="source to reproduce and test input files">[details]</a></span>
source to reproduce and test input files

Compile the attached libclangclient.cpp in debug mode.

Run it with the attached main.cpp to re-produce the issue:

$ ./libclangclient /path/to/main.cpp
file path: /path/to/main.cpp
Completion items, initial:
  main
Completion items, then:
  main
$

Note that the initial empty file header.h is modified on disk before the second
completion request is issued. Thus, it is expected that new completion items
will be available, but that is not happening.

The run modifies header.h, so revert header.h to re-produce this output again.</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>