[all-commits] [llvm/llvm-project] b3a6d4: [Clang] Allow parsing arbitrary order of attribute...

Denis.G via All-commits all-commits at lists.llvm.org
Fri May 9 11:10:39 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b3a6d434a7051d879718ef92a4fafd1697759aed
      https://github.com/llvm/llvm-project/commit/b3a6d434a7051d879718ef92a4fafd1697759aed
  Author: Denis.G <34353767+DenisGZM at users.noreply.github.com>
  Date:   2025-05-09 (Fri, 09 May 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Parse/Parser.h
    M clang/lib/Parse/ParseDeclCXX.cpp
    M clang/lib/Parse/ParseStmt.cpp
    M clang/test/AST/ast-dump-template-json-win32-mangler-crash.cpp
    M clang/test/Parser/c2x-alignas.c
    M clang/test/Parser/cxx0x-attributes.cpp
    A clang/test/SemaCUDA/cuda-attr-order.cu
    M clang/test/SemaCXX/warn-thread-safety-analysis.cpp

  Log Message:
  -----------
  [Clang] Allow parsing arbitrary order of attributes for declarations (#133107)

Enable parsing alignas attribute after GNU attributes, before
ParseDeclaration

This might be useful for cuda code where __shared__ and other
specificators may be mixed with align.

I'd be glad to see if there are any better places or other technique to
process this attribute without interrupting current flow of parsing.



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