[all-commits] [llvm/llvm-project] 2b932b: [clang-doc] Use LangOpts when printing types (#120...

Paul Kirth via All-commits all-commits at lists.llvm.org
Wed Dec 18 08:39:40 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b932bc111c0d96db7044b0a854d7ad763710df2
      https://github.com/llvm/llvm-project/commit/2b932bc111c0d96db7044b0a854d7ad763710df2
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2024-12-18 (Wed, 18 Dec 2024)

  Changed paths:
    M clang-tools-extra/clang-doc/Serialize.cpp
    M clang-tools-extra/test/clang-doc/builtin_types.cpp
    M clang-tools-extra/test/clang-doc/templates.cpp
    M clang-tools-extra/unittests/clang-doc/SerializeTest.cpp

  Log Message:
  -----------
  [clang-doc] Use LangOpts when printing types (#120308)

The implementation in the clang-doc serializer failed to take in the
LangOpts from the declaration. As a result, we'd do things like print
`_Bool` instead of `bool`, even in C++ code.

Fixes #62970



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list