diff options
author | Marek Sokolowski <mnbvmar@gmail.com> | 2017-09-28 23:53:25 +0000 |
---|---|---|
committer | Marek Sokolowski <mnbvmar@gmail.com> | 2017-09-28 23:53:25 +0000 |
commit | 7e89ee7fdc428900dd362703e80d4644b28058f7 (patch) | |
tree | f2561e5c799958dd702a5329e9bb9fad82f77cdd /llvm/tools/llvm-rc/ResourceScriptStmt.cpp | |
parent | 919991690c32345a9e42fcf2aebe17c36f59a492 (diff) | |
download | bcm5719-llvm-7e89ee7fdc428900dd362703e80d4644b28058f7.tar.gz bcm5719-llvm-7e89ee7fdc428900dd362703e80d4644b28058f7.zip |
[llvm-rc] Add integer expressions parsing ability. [7/8]
This allows the ints to be written as integer expressions evaluating to
unsigned 16-bit/32-bit integers.
All the expressions may use the following operators: + - & | ~, and
parentheses. Minus token - can be also unary. There is no precedence of
the operators other than the unary operators binding stronger than their
binary counterparts.
Differential Revision: https://reviews.llvm.org/D37022
llvm-svn: 314477
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceScriptStmt.cpp')
0 files changed, 0 insertions, 0 deletions