Releases: bloomberg/clangmetatool
Support for Constant string propagation
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
Give up on using a target and instead use target_include_directories( clangmetatool SYSTEM PRIVATE ... )
Fix in the build process
This is a fix in the build process from the 0.7.0 release.
One new collector, passing argument to tools
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
Also, move to use clang6 as the default.
Two new collectors
- 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):
First open source release version
This is the first open source release of the clangmetatool library.