[all-commits] [llvm/llvm-project] d6d0dc: [clang-format] Add MacroUnexpander.
r4nt via All-commits
all-commits at lists.llvm.org
Tue Jul 12 00:12:20 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d6d0dc1f45377ddaf5c10a48d64b09308b71501a
https://github.com/llvm/llvm-project/commit/d6d0dc1f45377ddaf5c10a48d64b09308b71501a
Author: Manuel Klimek <klimek at google.com>
Date: 2022-07-12 (Tue, 12 Jul 2022)
Changed paths:
M clang/lib/Format/CMakeLists.txt
M clang/lib/Format/FormatToken.h
A clang/lib/Format/MacroCallReconstructor.cpp
M clang/lib/Format/Macros.h
M clang/lib/Format/UnwrappedLineParser.h
M clang/unittests/Format/CMakeLists.txt
A clang/unittests/Format/MacroCallReconstructorTest.cpp
Log Message:
-----------
[clang-format] Add MacroUnexpander.
MacroUnexpander applies the structural formatting of expanded lines into
UnwrappedLines to the corresponding unexpanded macro calls, resulting in
UnwrappedLines for the macro calls the user typed.
Differential Revision: https://reviews.llvm.org/D88299
More information about the All-commits
mailing list