[all-commits] [llvm/llvm-project] dedbdf: [Clang] Improve type traits recognition in `__has_...

cor3ntin via All-commits all-commits at lists.llvm.org
Mon Oct 14 23:53:07 PDT 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: dedbdfb70daf06fc07bb4dfbec1d18af8fcef28f
      https://github.com/llvm/llvm-project/commit/dedbdfb70daf06fc07bb4dfbec1d18af8fcef28f
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2024-10-15 (Tue, 15 Oct 2024)

  Changed paths:
    M clang/include/clang/Basic/TokenKinds.def
    M clang/lib/Lex/PPMacroExpansion.cpp
    M clang/test/Preprocessor/feature_tests.cpp

  Log Message:
  -----------
  [Clang] Improve type traits recognition in `__has_builtin` (#111516)

`__has_builtin` was relying on reversible identifiers and string
matching to recognize builtin-type traits, leading to some newer type
traits not being recognized.

Fixes #111477



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