[all-commits] [llvm/llvm-project] 2dad7e: [LangRef] Document integer hexadecimal constants

Luke Lau via All-commits all-commits at lists.llvm.org
Fri Aug 18 10:05:40 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2dad7eeaaae8e5eca64fb3ce162ab2a8a9d2134a
      https://github.com/llvm/llvm-project/commit/2dad7eeaaae8e5eca64fb3ce162ab2a8a9d2134a
  Author: Luke Lau <luke at igalia.com>
  Date:   2023-08-18 (Fri, 18 Aug 2023)

  Changed paths:
    M llvm/docs/LangRef.rst

  Log Message:
  -----------
  [LangRef] Document integer hexadecimal constants

It's possible to write an integer constant in hexadecimal, but you need to
prefix it with u or s. I couldn't find this mentioned anywhere in the LangRef,
so this adds a small note about it.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D158288




More information about the All-commits mailing list