[all-commits] [llvm/llvm-project] e81744: [clang][ExtractAPI] Fix bool spelling coming from ...

Erick Velez via All-commits all-commits at lists.llvm.org
Tue Aug 22 15:00:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e81744563a53b1ed0aaa2cefda885287974a9e21
      https://github.com/llvm/llvm-project/commit/e81744563a53b1ed0aaa2cefda885287974a9e21
  Author: Erick Velez <erickvelez7 at gmail.com>
  Date:   2023-08-22 (Tue, 22 Aug 2023)

  Changed paths:
    M clang/include/clang/ExtractAPI/DeclarationFragments.h
    M clang/lib/ExtractAPI/DeclarationFragments.cpp
    A clang/test/ExtractAPI/bool.c
    A clang/test/ExtractAPI/bool.cpp

  Log Message:
  -----------
  [clang][ExtractAPI] Fix bool spelling coming from the macro definition.

getFragmentsForType resulted in a bool typeIdentifier fragment to be spelled "_Bool".
This fixes the spelling to be "bool" and checks it in C and C++.

Reviewed By: dang

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




More information about the All-commits mailing list