summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-rc/ResourceScriptToken.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [llvm-rc] Add integer expressions parsing ability. [7/8]Marek Sokolowski2017-09-281-0/+12
| | | | | | | | | | | | | | 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
* Fixing incorrectly capitalised regexps.Benjamin Kramer2017-09-071-1/+1
| | | | | | Patch by Sam Allen! llvm-svn: 312709
* Fix 'not all control paths return' warning on windows builds. NFCI.Simon Pilgrim2017-08-101-3/+1
| | | | llvm-svn: 310631
* Fixup for r310621: Hint the compilers about unreachable code.Marek Sokolowski2017-08-101-0/+4
| | | | llvm-svn: 310623
* Add .rc scripts tokenizer.Marek Sokolowski2017-08-101-0/+296
This extends the shell of llvm-rc tool with the ability of tokenization of the input files. Currently, ASCII and ASCII-compatible UTF-8 files are supported. Thanks to Nico Weber (thakis) for his original work in this area. Differential Revision: https://reviews.llvm.org/D35957 llvm-svn: 310621
OpenPOWER on IntegriCloud