[all-commits] [llvm/llvm-project] 376e3b: [TableGen] Add `!match` operator to do regex match...
Pengcheng Wang via All-commits
all-commits at lists.llvm.org
Wed Mar 12 21:13:31 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 376e3b62cd36cabf4235e085cd13df05c2bd754b
https://github.com/llvm/llvm-project/commit/376e3b62cd36cabf4235e085cd13df05c2bd754b
Author: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
Date: 2025-03-13 (Thu, 13 Mar 2025)
Changed paths:
M llvm/docs/TableGen/ProgRef.rst
M llvm/include/llvm/TableGen/Record.h
M llvm/lib/TableGen/Record.cpp
M llvm/lib/TableGen/TGLexer.cpp
M llvm/lib/TableGen/TGLexer.h
M llvm/lib/TableGen/TGParser.cpp
A llvm/test/TableGen/match.td
Log Message:
-----------
[TableGen] Add `!match` operator to do regex matching (#130759)
The grammar is `!match(str, regex)` and this operator produces 1
if the `str` matches the regular expression `regex`.
The format of `regex` is ERE (Extended POSIX Regular Expressions).
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