[all-commits] [llvm/llvm-project] 8df2b1: [pp-trace] Print HashLoc in InclusionDirective cal...
Tommy Chiang via All-commits
all-commits at lists.llvm.org
Fri Jun 3 04:30:24 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8df2b1a866800b41984bd7721b244a9821810764
https://github.com/llvm/llvm-project/commit/8df2b1a866800b41984bd7721b244a9821810764
Author: CHIANG, YU-HSUN (Tommy Chiang, oToToT) <ty1208chiang at gmail.com>
Date: 2022-06-03 (Fri, 03 Jun 2022)
Changed paths:
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/pp-trace.rst
M clang-tools-extra/pp-trace/PPCallbacksTracker.cpp
M clang-tools-extra/test/pp-trace/pp-trace-include.cpp
Log Message:
-----------
[pp-trace] Print HashLoc in InclusionDirective callback
The HashLoc in InclusionDirective callback is an unused parameter.
Since pp-trace is also used as a test of Clang’s PPCallbacks interface,
add it to the output of pp-trace could avoid some unintended change on
it.
This shuold resolves PR52673
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D125373
More information about the All-commits
mailing list