[clang] Produce a "multiversion" annotation in textual AST output.
authorTom Honermann <tom.honermann@intel.com>
Wed, 2 Mar 2022 22:10:33 +0000 (14:10 -0800)
committerTom Honermann <tom@honermann.net>
Mon, 21 Mar 2022 17:39:44 +0000 (13:39 -0400)
commit0cceee755992820362d5df5698da8bce762b9fe3
treebaa35b47ae528ed57c53c1372f29d55d50b02339
parent58c202a3d83dab0c4abeb19c3eeff27d83f6c2b5
[clang] Produce a "multiversion" annotation in textual AST output.

This change adds a "multiversion" annotation to textual AST output.
For example:
  FunctionDecl 0xb6628b0 <t.c:1:1, col:13> col:5 multiversion foo 'int (void)'

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D121961
clang/lib/AST/TextNodeDumper.cpp
clang/test/AST/ast-dump-funcs-multiversion.c [new file with mode: 0644]