[all-commits] [llvm/llvm-project] 7231c9: [clang-doc] Fix typedef/using output.

Brett Wilson via All-commits all-commits at lists.llvm.org
Tue Oct 25 13:48:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7231c9966e523a6fa20aa63b9a9245aff49cf881
      https://github.com/llvm/llvm-project/commit/7231c9966e523a6fa20aa63b9a9245aff49cf881
  Author: Brett Wilson <brettw at gmail.com>
  Date:   2022-10-25 (Tue, 25 Oct 2022)

  Changed paths:
    M clang-tools-extra/clang-doc/BitcodeReader.cpp
    M clang-tools-extra/clang-doc/BitcodeWriter.cpp
    M clang-tools-extra/clang-doc/Representation.h
    M clang-tools-extra/unittests/clang-doc/BitcodeTest.cpp

  Log Message:
  -----------
  [clang-doc] Fix typedef/using output.

Provides an initializer for the TypedefInfo.IsUsing member. Previously
this member was uninitialized and would produce random output.

Adds the Description (code comments) to the bitcode reader/writer.
Previously the typedef/using descriptions were lost during the bitcode
round-trip. Adds a test for this.

Differential Revision: https://reviews.llvm.org/D136638




More information about the All-commits mailing list