[all-commits] [llvm/llvm-project] aaf04c: Fix an incorrect bit-width for storing attribute s...

Aaron Ballman via All-commits all-commits at lists.llvm.org
Wed Jun 1 11:25:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aaf04c72159109f37507589ba13ff034b73403c2
      https://github.com/llvm/llvm-project/commit/aaf04c72159109f37507589ba13ff034b73403c2
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2022-06-01 (Wed, 01 Jun 2022)

  Changed paths:
    M clang/include/clang/Basic/AttributeCommonInfo.h

  Log Message:
  -----------
  Fix an incorrect bit-width for storing attribute syntax information

This field corresponds to the Syntax enumeration, and that gained
another entry in 1fdf952deeb9a02aa34794af3c1a7d13a30e068e. However,
the bit-field for storing the syntax used was not adjusted to handle
the extra field.

This turns out to be unobservable for HLSL attributes at the moment, so
there is no test coverage. But it's also not really an NFC change
either.




More information about the All-commits mailing list