clang-tools 20.0.0git
|
Classes | |
struct | Argument |
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... | |
Typedefs | |
using | FilterType = std::vector< std::pair< llvm::GlobPattern, bool > > |
Functions | |
static std::string | getSourceLocationString (Preprocessor &PP, SourceLocation Loc) |
static cl::OptionCategory | Cat ("pp-trace options") |
static cl::opt< std::string > | Callbacks ("callbacks", cl::init("*"), cl::desc("Comma-separated list of globs describing the list of callbacks " "to output. Globs are processed in order of appearance. Globs " "with the '-' prefix remove callbacks from the set. e.g. " "'*,-Macro*'."), cl::cat(Cat)) |
static cl::opt< std::string > | OutputFileName ("output", cl::init("-"), cl::desc("Output trace to the given file name or '-' for stdout."), cl::cat(Cat)) |
static void | error (Twine Message) |
Variables | |
static const char *const | FileChangeReasonStrings [] |
static const char *const | CharacteristicKindStrings [] |
static const char *const | MacroDirectiveKindStrings [] |
static const char *const | PragmaIntroducerKindStrings [] |
static const char *const | PragmaMessageKindStrings [] |
static const char *const | PragmaWarningSpecifierStrings [] |
static const char *const | ConditionValueKindStrings [] |
static const char *const | MappingStrings [] |
using clang::pp_trace::FilterType = typedef std::vector<std::pair<llvm::GlobPattern, bool> > |
Definition at line 55 of file PPCallbacksTracker.h.
|
static |
|
static |
|
static |
Definition at line 72 of file PPTrace.cpp.
|
static |
Definition at line 25 of file PPCallbacksTracker.cpp.
References Loc.
Referenced by clang::pp_trace::PPCallbacksTracker::appendArgument().
|
static |
|
static |
Definition at line 63 of file PPCallbacksTracker.cpp.
Referenced by clang::pp_trace::PPCallbacksTracker::FileChanged(), and clang::pp_trace::PPCallbacksTracker::FileSkipped().
|
static |
Definition at line 88 of file PPCallbacksTracker.cpp.
Referenced by clang::pp_trace::PPCallbacksTracker::Elif(), and clang::pp_trace::PPCallbacksTracker::If().
|
static |
Definition at line 58 of file PPCallbacksTracker.cpp.
Referenced by clang::pp_trace::PPCallbacksTracker::FileChanged().
|
static |
Definition at line 67 of file PPCallbacksTracker.cpp.
Referenced by clang::pp_trace::PPCallbacksTracker::appendArgument().
|
static |
Definition at line 93 of file PPCallbacksTracker.cpp.
Referenced by clang::pp_trace::PPCallbacksTracker::PragmaDiagnostic().
|
static |
Definition at line 72 of file PPCallbacksTracker.cpp.
Referenced by clang::pp_trace::PPCallbacksTracker::PragmaDirective().
|
static |
Definition at line 77 of file PPCallbacksTracker.cpp.
Referenced by clang::pp_trace::PPCallbacksTracker::PragmaMessage().
|
static |
Definition at line 82 of file PPCallbacksTracker.cpp.
Referenced by clang::pp_trace::PPCallbacksTracker::PragmaWarning().