[Alignment][NFC] Use Align with TargetLowering::setMinFunctionAlignment
[llvm-core.git] / include / llvm / WindowsResource / ResourceScriptTokenList.h
blob6b44dccaa35f90bb58c6c7dd63e344f215593273
1 //===-- ResourceScriptTokenList.h -------------------------------*- C++-*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===---------------------------------------------------------------------===//
8 //
9 // This is a part of llvm-rc tokens header. It lists all the possible tokens
10 // that might occur in a correct .rc script.
12 //===---------------------------------------------------------------------===//
15 // Long tokens. They might consist of more than one character.
16 TOKEN(Invalid) // Invalid token. Should not occur in a valid script.
17 TOKEN(Int) // Integer (decimal, octal or hexadecimal).
18 TOKEN(String) // String value.
19 TOKEN(Identifier) // Script identifier (resource name or type).
21 // Short tokens. They usually consist of exactly one character.
22 // The definitions are of the form SHORT_TOKEN(TokenName, TokenChar).
23 // TokenChar is the one-character token representation occuring in the correct
24 // .rc scripts.
25 SHORT_TOKEN(BlockBegin, '{') // Start of the script block; can also be BEGIN.
26 SHORT_TOKEN(BlockEnd, '}') // End of the block; can also be END.
27 SHORT_TOKEN(Comma, ',') // Comma - resource arguments separator.
28 SHORT_TOKEN(Plus, '+') // Addition operator.
29 SHORT_TOKEN(Minus, '-') // Subtraction operator.
30 SHORT_TOKEN(Pipe, '|') // Bitwise-OR operator.
31 SHORT_TOKEN(Amp, '&') // Bitwise-AND operator.
32 SHORT_TOKEN(Tilde, '~') // Bitwise-NOT operator.
33 SHORT_TOKEN(LeftParen, '(') // Left parenthesis in the script expressions.
34 SHORT_TOKEN(RightParen, ')') // Right parenthesis.