llvm-project/clang-tools-extra/unittests
Brett Wilson eaa7b324d5 [clang-doc] Add support for explicitly typed enums
Add support for explicitly typed enums:
  enum Foo : unsigned { ... };
to the internal representation and to the YAML output.

Add support for getting the value of an enum constant, as well as accessing the original expression that produced it. This changes the YAML output of enums from an array of strings for the enum members to an array of dictionaries. These dictionaries now report the name, value, and original expression.

The markdown and HTML outputs are unchanged, they still output the name from the new enhanced internal schema.

Reviewed By: paulkirth

Differential Revision: https://reviews.llvm.org/D134055
2022-09-19 21:54:41 +00:00
..
clang-apply-replacements [libtooling][clang-tidy] Fix diagnostics not highlighting fed SourceRanges 2021-04-10 16:43:44 +02:00
clang-change-namespace [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
clang-doc [clang-doc] Add support for explicitly typed enums 2022-09-19 21:54:41 +00:00
clang-include-fixer [OpenMP] "UnFix" layering problem with FrontendOpenMP 2020-04-07 14:41:18 -05:00
clang-move [clang-move] Fix unit tests with forward slash as separator on windows 2021-11-08 22:21:31 +02:00
clang-query [clang-query] Add check to prevent setting srcloc when no introspection is available. 2021-04-28 11:21:35 +01:00
clang-tidy [clang][transformer] Finish plumbing `Note` all the way to the output. 2022-08-11 07:54:44 +02:00
include/common
CMakeLists.txt Use INTERFACE_COMPILE_OPTIONS to disable -Wsuggest-override for any target that links to gtest 2020-07-27 08:37:01 -07:00