clang - more than an onomatopoeia

Posted by on in Blogs
An exciting new feature of C++BuilderXE2 is C++ Audits. For those of you unfamiliar with Audits, this is a static code analysis technique to look for potential issues in source code. Some of the things a good audit should do is look adherence to coding standards like naming conventions, or possible errors like divide by zero or comparing floating point values, or even potential security risks like buffer overflows.  C++BuilderXE2 delivers a set of 42 audits that cover this broad range potential issues.


Embarcadero invested in new C++ technology to deliver this audit engine. In particular, we are utilizing the clang front-end . Clang is part of the LLVM project and is a highly compatible C/C++ language front-end.  We added support for C++Builder specific features such as our language extensions to support the Delphi Property-Method-Event (PME) model and we have integrated this into our IDE so that you can audit your C++Builder XE2 projects.


We hope you find this feature as exciting as we do. Go forth and Audit!


Gold User, Rank: 18, Points: 191


  • Guest
    denis kiselev Wednesday, 19 October 2011

    Do you plan to utilize LLVM as ARM compiler to support iOS?)

  • Guest
    Peter Sprenger Wednesday, 19 October 2011

    Do we have a glimpse on the new Compiler technologies? When you have already modified Clang to work with the Delphi language extensions in C++, a new C++Builder should work with this environment, since x86 and ARM backends are already in LLVM.

  • Guest
    Tomas Zalesak Wednesday, 19 October 2011
  • Guest
    Jennifer-Ashley Kuiper Wednesday, 19 October 2011

    Sounds interesting. Will the next version (XE3?) be based on Clang? BTW, the link to Clang is broken. It should be .../index.html, you know, the non-M$ way. ;-)

  • Guest
    Gilbert Padilla Thursday, 20 October 2011

    Is the source code available for this tool?
    Could it be used to build a C++ Static Class browser?

  • Guest
    John Ray Thomas Monday, 24 October 2011

    Thanks for the feedback. The link is fixed. We have not announced further usage of clang beyond audits and metrics. However, if you would like to learn more about our C++ roadmap you can make a request to me directly for an NDA.
    john.thomas at

  • Please login first in order for you to submit comments
  • Page :
  • 1

Check out more tips and tricks in this development video: