[all-commits] [llvm/llvm-project] c2fea4: [C++] Fix parsing of _Alignas in local declaration...

Aaron Ballman via All-commits all-commits at lists.llvm.org
Fri Feb 16 04:44:08 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2fea4cf38991669030f4190d17b645cec27a7c0
      https://github.com/llvm/llvm-project/commit/c2fea4cf38991669030f4190d17b645cec27a7c0
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Parse/ParseTentative.cpp
    A clang/test/SemaCXX/_Alignas.cpp

  Log Message:
  -----------
  [C++] Fix parsing of _Alignas in local declarations (#81915)

We support '_Alignas' from C11 as an extension in C++. However, we were
not correctly parsing its use in local variable declarations. This patch
addresses that issue.




More information about the All-commits mailing list