[all-commits] [llvm/llvm-project] 1fe406: [Clang] Fix parsing of reversible type traits in t...

cor3ntin via All-commits all-commits at lists.llvm.org
Fri Jul 12 23:53:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1fe406fffe11dad0457a4d214ce67bf492196145
      https://github.com/llvm/llvm-project/commit/1fe406fffe11dad0457a4d214ce67bf492196145
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2024-07-13 (Sat, 13 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Parse/Parser.h
    M clang/lib/Parse/ParseExpr.cpp
    M clang/lib/Parse/ParseTentative.cpp
    M clang/test/Parser/cxx-template-argument.cpp

  Log Message:
  -----------
  [Clang] Fix parsing of reversible type traits in template arguments (#95969)

Constructs like `__is_pointer(Foo)` are never considered to be functions
declarations.

This matches usages in libstdc++, and we can hope
no one else redefine these reserved identifiers.

Fixes #95598



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