[PATCH] D158474: [clang][ExtractAPI] Fix bool spelling coming from the macro definition.

Erick Velez via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 21 18:43:50 PDT 2023


evelez7 created this revision.
evelez7 added a reviewer: dang.
Herald added a reviewer: ributzka.
Herald added a project: All.
evelez7 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

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++.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158474

Files:
  clang/include/clang/ExtractAPI/DeclarationFragments.h
  clang/lib/ExtractAPI/DeclarationFragments.cpp
  clang/test/ExtractAPI/bool.c
  clang/test/ExtractAPI/bool.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158474.552182.patch
Type: text/x-patch
Size: 10734 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230822/0d469c11/attachment.bin>


More information about the cfe-commits mailing list