aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-readobj/llvm-readobj.cpp
diff options
context:
space:
mode:
authorDani Ferreira Franco Moura <danimoura@google.com>2023-01-31 11:53:40 +0000
committerDani Ferreira Franco Moura <danimoura@google.com>2023-02-10 19:11:31 +0000
commit70acb3aab3a10eea802781f69c8336c21dce6d59 (patch)
treeebabab74f992f4415ad3915b4c3380aae42d1259 /llvm/tools/llvm-readobj/llvm-readobj.cpp
parent83e84cdbe4bc6b6f42cf948b1f8410fb74acc650 (diff)
downloadllvm-70acb3aab3a10eea802781f69c8336c21dce6d59.zip
llvm-70acb3aab3a10eea802781f69c8336c21dce6d59.tar.gz
llvm-70acb3aab3a10eea802781f69c8336c21dce6d59.tar.bz2
A slightly more concise AST dump :)
If the modifiedType and the minimally desugared type of an AttributedType are the same, then we do not need to show both in an AST dump. Here, we change VisitAttributedType to only visit the modifiedType when it is different from the equivalentType (the minimally desugared type), because the latter is already visited by default. Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D142637
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions