[all-commits] [llvm/llvm-project] dbde7c: Switch from int to unsigned int; NFC

Aaron Ballman via All-commits all-commits at lists.llvm.org
Thu Mar 9 06:29:17 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dbde7cc17c3a5b6a35e5ec598ba7eaba6f75d90b
      https://github.com/llvm/llvm-project/commit/dbde7cc17c3a5b6a35e5ec598ba7eaba6f75d90b
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2023-03-09 (Thu, 09 Mar 2023)

  Changed paths:
    M clang/include/clang-c/Index.h

  Log Message:
  -----------
  Switch from int to unsigned int; NFC

This silences a GCC conversion diagnostic about assigning `1` to a
1-bit signed bit-field changing the value from `1` to `-1`.

Co-authored-by: Igor Kushnir <igorkuo at gmail.com>




More information about the All-commits mailing list