diff options
| author | Manuel Klimek <klimek@google.com> | 2020-07-07 12:17:14 +0200 | 
|---|---|---|
| committer | Manuel Klimek <klimek@google.com> | 2020-09-25 14:08:13 +0200 | 
| commit | e336b74c995d665bc3fb75164375bbb0f78f516c (patch) | |
| tree | 3f8f5d4c79e2cb538c6da023bee40717448752de /lldb/source/Plugins/ScriptInterpreter/Python | |
| parent | b8880f5f97bf1628b2c9606e96abcd612dc7d747 (diff) | |
| download | llvm-e336b74c995d665bc3fb75164375bbb0f78f516c.zip llvm-e336b74c995d665bc3fb75164375bbb0f78f516c.tar.gz llvm-e336b74c995d665bc3fb75164375bbb0f78f516c.tar.bz2 | |
[clang-format] Add a MacroExpander.
Summary:
The MacroExpander allows to expand simple (non-resursive) macro
definitions from a macro identifier token and macro arguments. It
annotates the tokens with a newly introduced MacroContext that keeps
track of the role a token played in expanding the macro in order to
be able to reconstruct the macro expansion from an expanded (formatted)
token stream.
Made Token explicitly copy-able to enable copying tokens from the parsed
macro definition.
Reviewers: sammccall
Subscribers: mgorny, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D83296
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
