[all-commits] [llvm/llvm-project] a70efb: Always register `asm` attribute first in a Decl. (...

Giuliano Belinassi via All-commits all-commits at lists.llvm.org
Sat Oct 18 00:23:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a70efbd6cc5d052ff06a0be79b606b8d836eac03
      https://github.com/llvm/llvm-project/commit/a70efbd6cc5d052ff06a0be79b606b8d836eac03
  Author: Giuliano Belinassi <giulianobelinassi at users.noreply.github.com>
  Date:   2025-10-18 (Sat, 18 Oct 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaDecl.cpp
    M clang/test/Sema/attr-print.c

  Log Message:
  -----------
  Always register `asm` attribute first in a Decl. (#162687)

Previously, clang's SemaDecl processed `asm` attributes after every
other attribute in the Decl, unlike gcc and clang's own parser which
requires `asm` attributes to be the first one in the declaration (see
#162556). Therefore, move the processing of `asm` attributes to be the
first one in the attributes list.

Closes #162126

Signed-off-by: Giuliano Belinassi <gbelinassi at suse.de>



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