<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi all,<div class=""><br class=""></div><div class="">I’ve been delving into clang tools lately and found it quite hard to find documentation or resources w.r.t. plugging into clang’s diagnostics and FixIt hint infrastructure. For this reason I just published a blog post about the subject, to spare future devs the hassle of getting all that information from the clang source: <a href="http://www.goldsborough.me/c++/clang/llvm/tools/2017/02/24/00-00-06-emitting_diagnostics_and_fixithints_in_clang_tools/" class="">http://www.goldsborough.me/c++/clang/llvm/tools/2017/02/24/00-00-06-emitting_diagnostics_and_fixithints_in_clang_tools/</a></div><div class=""><br class=""></div><div class="">I’d like to suggest that we could maybe extract parts of that blog post into official documentation under tools/clang/docs. The <a href="http://clang.llvm.org/docs/InternalsManual.html#the-diagnostics-subsystem" class="">internals manual</a> provides a nice overview of the subject but it lacks practical examples. Would that be useful? If so, I’d be glad if someone could scan the post for mistakes and maybe point out how I could best approach this.</div><div class=""><br class=""></div><div class="">Thanks,<br class=""><div class="">

  <p style="font-family: Helvetica, Arial, sans-serif; font-size: 12px; line-height: 14px; margin-bottom: 10px;" class="">
      
  </p>
  <p style="font-family: Helvetica, Arial, sans-serif; font-size: 12px; line-height: 14px; color: rgb(33, 33, 33); margin-bottom: 10px;" class=""><span style="font-weight: bold; color: rgb(33, 33, 33); display: inline;" class="">Peter Goldsborough</span>
     
    <span style="display: inline;" class=""><br class=""></span>
    <a href="mailto:peter@goldsborough.me" style="color: rgb(71, 124, 204); text-decoration: none; display: inline;" class="">peter@goldsborough.me</a><span style="color: #212121;" class=""></span>
  </p>

    <p style="font-family: Helvetica, Arial, sans-serif; font-size: 12px; line-height: 14px; margin-bottom: 10px;" class="">
      
      <span style="display: inline;" class=""></span>
       
       
      <span class=""></span> <span style="color: rgb(33, 33, 33); display: inline;" class="">Flat 410, Seth Court, 23 Parmiter St</span>
      <span style="display: block;" class=""></span> <span style="color: rgb(33, 33, 33); display: inline;" class="">London E2 9EX, UK</span>
      <span style="display: inline;" class=""><br class=""></span>
      <a href="http://goldsborough.me" style="color: rgb(71, 124, 204); text-decoration: none; display: inline;" class="">http://goldsborough.me</a>
    </p>


  <p style="font-size: 0px; line-height: 0; font-family: Helvetica, Arial, sans-serif;" class="">
    <a style="text-decoration: none; display: inline;" href="https://htmlsig.com/t/000001C1S543" class="">
      <img width="16" style="margin-bottom:2px; border:none; display:inline;" height="16" data-filename="twitter.png" src="https://s3.amazonaws.com/htmlsig-assets/square/twitter.png" alt="Twitter" class="">
    </a>
    <span style="white-space: nowrap; display: inline;" class="">
      <img src="https://s3.amazonaws.com/htmlsig-assets/spacer.gif" width="2" class="">
    </span>
    
    
    
    
    <a style="text-decoration: none; display: inline;" href="https://htmlsig.com/t/000001C1WWSM" class="">
      <img width="16" style="margin-bottom:2px; border:none; display:inline;" height="16" data-filename="linkedin.png" src="https://s3.amazonaws.com/htmlsig-assets/square/linkedin.png" alt="LinkedIn" class="">
    </a>
    <span style="white-space: nowrap; display: inline;" class="">
      <img src="https://s3.amazonaws.com/htmlsig-assets/spacer.gif" width="2" class="">
    </span>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    <a style="display: inline; text-decoration: none;" href="https://htmlsig.com/t/000001BZG0X5" class="">
      <img width="16" style="margin-bottom:2px; border:none; display:inline;" height="16" data-filename="github.png" src="https://s3.amazonaws.com/htmlsig-assets/square/github.png" alt="Github" class="">
    </a>
    <span style="white-space: nowrap; display: inline;" class="">
      <img src="https://s3.amazonaws.com/htmlsig-assets/spacer.gif" width="2" class="">
    </span>
    
    
    
    
    
    
    
    
    
    
    
    
    <a style="display: inline; text-decoration: none;" href="https://htmlsig.com/t/000001C4SHCX" class="">
      <img width="16" style="margin-bottom:2px; border:none; display:inline;" height="16" data-filename="stackoverflow.png" src="https://s3.amazonaws.com/htmlsig-assets/square/stackoverflow.png" alt="Stack Overflow" class="">
    </a>
    <span style="white-space: nowrap; display: inline;" class="">
      <img src="https://s3.amazonaws.com/htmlsig-assets/spacer.gif" width="2" class="">
    </span>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</p>


  

  


  <p style="font-family: Helvetica, Arial, sans-serif; color: #212121; font-size: 9px; line-height: 12px;" class=""></p>



</div>
<br class=""></div></body></html>