clang-tools 3.8.0

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

Classes
PPCallbacksTracker.h File Reference

Classes and definitions for preprocessor tracking. More...

`#include "clang/Lex/PPCallbacks.h"`
`#include "clang/Lex/Preprocessor.h"`
Include dependency graph for PPCallbacksTracker.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | Argument
| This class represents one callback function argument by name and value. More...
class | CallbackCall
| This class represents one callback call by name and an array of arguments. More...
class | PPCallbacksTracker
| This class overrides the PPCallbacks class for tracking preprocessor activity by means of its callback functions. More...

## Detailed Description

Classes and definitions for preprocessor tracking.

The core definition is the PPCallbacksTracker class, derived from Clang's PPCallbacks class from the Lex library, which overrides all the callbacks and collects information about each callback call, saving it in a data structure built up of CallbackCall and Argument objects, which record the preprocessor callback name and arguments in high-level string form for later inspection.

Definition in file PPCallbacksTracker.h.