[all-commits] [llvm/llvm-project] d7282c: [llvm-rc] Add support for multiplication and divis...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue Jun 10 13:34:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d7282c56cd294a2eb4890e50c84e6eae6f7c6671
      https://github.com/llvm/llvm-project/commit/d7282c56cd294a2eb4890e50c84e6eae6f7c6671
  Author: Martin Storsjö <martin at martin.st>
  Date:   2025-06-10 (Tue, 10 Jun 2025)

  Changed paths:
    M llvm/test/tools/llvm-rc/Inputs/parser-expr.rc
    M llvm/test/tools/llvm-rc/Inputs/tokens.rc
    M llvm/test/tools/llvm-rc/parser-expr.test
    M llvm/test/tools/llvm-rc/tokenizer.test
    M llvm/tools/llvm-rc/ResourceScriptParser.cpp
    M llvm/tools/llvm-rc/ResourceScriptParser.h
    M llvm/tools/llvm-rc/ResourceScriptStmt.h
    M llvm/tools/llvm-rc/ResourceScriptToken.cpp
    M llvm/tools/llvm-rc/ResourceScriptToken.h
    M llvm/tools/llvm-rc/ResourceScriptTokenList.def

  Log Message:
  -----------
  [llvm-rc] Add support for multiplication and division in expressions (#143373)

This is supported by GNU windres. MS rc.exe does accept these
expressions, but doesn't evalulate them correctly, it only returns the
left hand side.

This fixes one aspect of
https://github.com/llvm/llvm-project/issues/143157.



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