Skip to content

Releases: bloomberg/clangmetatool

Support for Constant string propagation

23 Aug 19:31
Compare
Choose a tag to compare

In order to help tools that need to figure out if the value of an argument to a function can be determined at compile time, this release includes a Constant C String propagation function that will be able to answer if the value is at all deterministic at compile time and what the value is.

The internal implementation has room for supporting resolving other literal types in the future. Contributions on that space are welcome.

See https://bloomberg.github.io/clangmetatool/classclangmetatool_1_1propagation_1_1ConstantCStringPropagator.html for the documentation.

Take 2 on fixup of build process

08 Aug 20:03
0c9389a
Compare
Choose a tag to compare

Give up on using a target and instead use target_include_directories( clangmetatool SYSTEM PRIVATE ... )

Fix in the build process

08 Aug 19:13
d70f150
Compare
Choose a tag to compare

This is a fix in the build process from the 0.7.0 release.

One new collector, passing argument to tools

08 Aug 15:31
Compare
Choose a tag to compare

Support for passing arguments to the tool.

In order to use that you need to add a typedef named ArgTypes in your tool class, and when you do that, the toll will receive an extra argument in its constructor that is forwarded from the constructor of the MetaToolFactory.

New collector: references

This collector will find all the references in the code, and will tell you which function/variable/class contains references to which identifiers.

Fix tests for clang 6

24 Jul 18:32
Compare
Choose a tag to compare

Also, move to use clang6 as the default.

Two new collectors

24 Jul 15:49
Compare
Choose a tag to compare
  • Ajmal Sharif (1):
    • Add collector for definitions (#10)
  • Anthony Burzillo (1):
    • Add travis build status to README (#5)
  • Beleth Apophis (8):
    • Bind to a function name passed in by the tool
    • Remove guard
    • Add docs to collector headers
    • Remove argument binds and unnecessary class
    • Pass function and argument match parameters by value
    • Remove unused bind
    • Use map instead of multimap for context-functionref data
    • Remove unused parameters
  • Daniel Ruoso (2):
    • add more detailed "about" section (#6)
    • fix typo (#7)

First open source release version

12 Jul 20:36
Compare
Choose a tag to compare

This is the first open source release of the clangmetatool library.