<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 --- - writing clang plugins should not require a clang build"
   href="https://llvm.org/bugs/show_bug.cgi?id=28283">28283</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>writing clang plugins should not require a clang build
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>3.7
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>All
          </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>jhi@iki.fi
          </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>I tried to get started writing clang plugins, again, and was, again, thwarted
by the need to have a fresh build of clang around.  Not an installation, a
build.

I can build llvm and clang, it's just that I find it a little ... awkward? 
clunky? to need to have the objects and the whole build tree around, to be able
to write plugins.

Moreover, practically none of the examples found in the Internet work, because
they were written for some earlier releases of clang.  I understand that
keeping the plugin interface stable may not be the highest priority.  I guess
the latest clang plugin tutorial works for the latest source release, one would
hope, but probably not for the HEAD of the repo, anymore...

But I guess my main gripe is: a clang binary distribution should include
everything required to write plugins.  The very definition of plugin to me says
that the whole thing does not need to be modified.</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>