[all-commits] [llvm/llvm-project] fe2c77: [clang][ExtractAPI] Fix appendSpace in Declaration...

Zixu Wang via All-commits all-commits at lists.llvm.org
Thu Apr 7 09:17:48 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe2c77a0065cda43418d625f0162a974ce8ec1e5
      https://github.com/llvm/llvm-project/commit/fe2c77a0065cda43418d625f0162a974ce8ec1e5
  Author: Zixu Wang <zixu_wang at apple.com>
  Date:   2022-04-07 (Thu, 07 Apr 2022)

  Changed paths:
    M clang/lib/ExtractAPI/DeclarationFragments.cpp
    M clang/test/ExtractAPI/global_record.c
    M clang/test/ExtractAPI/global_record_multifile.c
    M clang/test/ExtractAPI/macro_undefined.c
    M clang/test/ExtractAPI/objc_category.m
    M clang/test/ExtractAPI/objc_interface.m

  Log Message:
  -----------
  [clang][ExtractAPI] Fix appendSpace in DeclarationFragments

There is a bug in `DeclarationFragments::appendSpace` where the space
character is added to a local copy of the last fragment.

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




More information about the All-commits mailing list