debugString generates a s-expression string for a given boolean value B.
Atoms appearing in the boolean value B are labeled with a user-specified name in Names or given a default name in the form of B0, B1, ...
Depends On D129546
Paths
| Differential D129547
[clang][dataflow] Generate readable form of boolean values for debugging purposes. ClosedPublic Authored by wyt on Jul 12 2022, 1:48 AM.
Details Summary debugString generates a s-expression string for a given boolean value B. Depends On D129546
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 12 2022, 1:48 AM wyt retitled this revision from [clang][dataflow] Generate readable form of boolean values. to [clang][dataflow] Generate readable form of boolean values for debugging purposes..Jul 12 2022, 2:26 AM Comment Actions Extract recursion into boolean subvalues into separate statements to enforce order of evaluation.
This revision is now accepted and ready to land.Jul 12 2022, 8:55 AM wyt marked an inline comment as done. Comment ActionsAddress comment on renaming parameter. Add const qualifier to BoolValue input to debugString. This revision was landed with ongoing or failed builds.Jul 13 2022, 3:35 AM Closed by commit rGc9666d2339e5: [clang][dataflow] Generate readable form of boolean values. (authored by wyt). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 444206 clang/docs/tools/clang-formatted-files.txt
clang/include/clang/Analysis/FlowSensitive/DebugSupport.h
clang/lib/Analysis/FlowSensitive/CMakeLists.txt
clang/lib/Analysis/FlowSensitive/DebugSupport.cpp
clang/unittests/Analysis/FlowSensitive/CMakeLists.txt
clang/unittests/Analysis/FlowSensitive/DebugSupportTest.cpp
llvm/utils/gn/secondary/clang/lib/Analysis/FlowSensitive/BUILD.gn
|