[PATCH] D59296: [pp-trace] Delete -ignore and add generalized -callbacks
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 13 06:53:50 PDT 2019
MaskRay created this revision.
MaskRay added reviewers: juliehockett, aaron.ballman, alexfh.
Herald added subscribers: cfe-commits, jsji, kbarton, nemanjai.
Herald added a project: clang.
-ignore specifies a list of PP callbacks to ignore. It cannot express a
whitelist, which may be more useful than a blacklist.
Delete it and add a generalized -callbacks instead.
-ignore= (default) => -callbacks='*' (default)
-ignore=FileChanged,FileSkipped => -callbacks='*,-FileChanged,-FileSkipped'
-callbacks='Macro*' : only print MacroDefined,MacroExpands,MacroUndefined,... callbacks
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D59296
Files:
docs/pp-trace.rst
pp-trace/PPCallbacksTracker.cpp
pp-trace/PPCallbacksTracker.h
pp-trace/PPTrace.cpp
test/pp-trace/pp-trace-conditional.cpp
test/pp-trace/pp-trace-filter.cpp
test/pp-trace/pp-trace-ident.cpp
test/pp-trace/pp-trace-macro.cpp
test/pp-trace/pp-trace-modules.cpp
test/pp-trace/pp-trace-pragma-general.cpp
test/pp-trace/pp-trace-pragma-ms.cpp
test/pp-trace/pp-trace-pragma-opencl.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59296.190405.patch
Type: text/x-patch
Size: 14248 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190313/6fd87e6e/attachment-0001.bin>
More information about the cfe-commits
mailing list