clang 20.0.0git
Variables
UnicodeCharSets.h File Reference
#include "llvm/Support/UnicodeCharRanges.h"

Go to the source code of this file.

Variables

static const llvm::sys::UnicodeCharRange XIDStartRanges []
 
static const llvm::sys::UnicodeCharRange XIDContinueRanges []
 
static const llvm::sys::UnicodeCharRange MathematicalNotationProfileIDStartRanges []
 
static const llvm::sys::UnicodeCharRange MathematicalNotationProfileIDContinueRanges []
 
static const llvm::sys::UnicodeCharRange C11AllowedIDCharRanges []
 
static const llvm::sys::UnicodeCharRange C99AllowedIDCharRanges []
 
static const llvm::sys::UnicodeCharRange C11DisallowedInitialIDCharRanges []
 
static const llvm::sys::UnicodeCharRange C99DisallowedInitialIDCharRanges []
 
static const llvm::sys::UnicodeCharRange UnicodeWhitespaceCharRanges []
 

Variable Documentation

◆ C11AllowedIDCharRanges

const llvm::sys::UnicodeCharRange C11AllowedIDCharRanges[]
static
Initial value:
= {
{ 0x00A8, 0x00A8 }, { 0x00AA, 0x00AA }, { 0x00AD, 0x00AD },
{ 0x00AF, 0x00AF }, { 0x00B2, 0x00B5 }, { 0x00B7, 0x00BA },
{ 0x00BC, 0x00BE }, { 0x00C0, 0x00D6 }, { 0x00D8, 0x00F6 },
{ 0x00F8, 0x00FF },
{ 0x0100, 0x167F }, { 0x1681, 0x180D }, { 0x180F, 0x1FFF },
{ 0x200B, 0x200D }, { 0x202A, 0x202E }, { 0x203F, 0x2040 },
{ 0x2054, 0x2054 }, { 0x2060, 0x206F },
{ 0x2070, 0x218F }, { 0x2460, 0x24FF }, { 0x2776, 0x2793 },
{ 0x2C00, 0x2DFF }, { 0x2E80, 0x2FFF },
{ 0x3004, 0x3007 }, { 0x3021, 0x302F }, { 0x3031, 0x303F },
{ 0x3040, 0xD7FF },
{ 0xF900, 0xFD3D }, { 0xFD40, 0xFDCF }, { 0xFDF0, 0xFE44 },
{ 0xFE47, 0xFFFD },
{ 0x10000, 0x1FFFD }, { 0x20000, 0x2FFFD }, { 0x30000, 0x3FFFD },
{ 0x40000, 0x4FFFD }, { 0x50000, 0x5FFFD }, { 0x60000, 0x6FFFD },
{ 0x70000, 0x7FFFD }, { 0x80000, 0x8FFFD }, { 0x90000, 0x9FFFD },
{ 0xA0000, 0xAFFFD }, { 0xB0000, 0xBFFFD }, { 0xC0000, 0xCFFFD },
{ 0xD0000, 0xDFFFD }, { 0xE0000, 0xEFFFD }
}

Definition at line 403 of file UnicodeCharSets.h.

Referenced by isAllowedIDChar().

◆ C11DisallowedInitialIDCharRanges

const llvm::sys::UnicodeCharRange C11DisallowedInitialIDCharRanges[]
static
Initial value:
= {
{ 0x0300, 0x036F }, { 0x1DC0, 0x1DFF }, { 0x20D0, 0x20FF },
{ 0xFE20, 0xFE2F }
}

Definition at line 652 of file UnicodeCharSets.h.

Referenced by isAllowedInitiallyIDChar().

◆ C99AllowedIDCharRanges

const llvm::sys::UnicodeCharRange C99AllowedIDCharRanges[]
static

Definition at line 433 of file UnicodeCharSets.h.

Referenced by isAllowedIDChar(), and maybeDiagnoseIDCharCompat().

◆ C99DisallowedInitialIDCharRanges

const llvm::sys::UnicodeCharRange C99DisallowedInitialIDCharRanges[]
static
Initial value:
= {
{ 0x0660, 0x0669 }, { 0x06F0, 0x06F9 }, { 0x0966, 0x096F },
{ 0x09E6, 0x09EF }, { 0x0A66, 0x0A6F }, { 0x0AE6, 0x0AEF },
{ 0x0B66, 0x0B6F }, { 0x0BE7, 0x0BEF }, { 0x0C66, 0x0C6F },
{ 0x0CE6, 0x0CEF }, { 0x0D66, 0x0D6F }, { 0x0E50, 0x0E59 },
{ 0x0ED0, 0x0ED9 }, { 0x0F20, 0x0F33 }
}

Definition at line 660 of file UnicodeCharSets.h.

Referenced by isAllowedInitiallyIDChar(), and maybeDiagnoseIDCharCompat().

◆ MathematicalNotationProfileIDContinueRanges

const llvm::sys::UnicodeCharRange MathematicalNotationProfileIDContinueRanges[]
static
Initial value:
= {
{0x000B2, 0x000B3},
{0x000B9, 0x000B9},
{0x02070, 0x02070},
{0x02074, 0x0207E},
{0x02080, 0x0208E},
}

Definition at line 394 of file UnicodeCharSets.h.

Referenced by diagnoseExtensionInIdentifier(), and isMathematicalExtensionID().

◆ MathematicalNotationProfileIDStartRanges

const llvm::sys::UnicodeCharRange MathematicalNotationProfileIDStartRanges[]
static
Initial value:
= {
{0x02202, 0x02202},
{0x02207, 0x02207},
{0x0221E, 0x0221E},
{0x1D6C1, 0x1D6C1},
{0x1D6DB, 0x1D6DB},
{0x1D6FB, 0x1D6FB},
{0x1D715, 0x1D715},
{0x1D735, 0x1D735},
{0x1D74F, 0x1D74F},
{0x1D76F, 0x1D76F},
{0x1D789, 0x1D789},
{0x1D7A9, 0x1D7A9},
{0x1D7C3, 0x1D7C3},
}

Definition at line 376 of file UnicodeCharSets.h.

Referenced by diagnoseExtensionInIdentifier(), and isMathematicalExtensionID().

◆ UnicodeWhitespaceCharRanges

const llvm::sys::UnicodeCharRange UnicodeWhitespaceCharRanges[]
static
Initial value:
= {
{ 0x0085, 0x0085 }, { 0x00A0, 0x00A0 }, { 0x1680, 0x1680 },
{ 0x180E, 0x180E }, { 0x2000, 0x200A }, { 0x2028, 0x2029 },
{ 0x202F, 0x202F }, { 0x205F, 0x205F }, { 0x3000, 0x3000 }
}

Definition at line 669 of file UnicodeCharSets.h.

Referenced by isUnicodeWhitespace().

◆ XIDContinueRanges

const llvm::sys::UnicodeCharRange XIDContinueRanges[]
static

Definition at line 243 of file UnicodeCharSets.h.

Referenced by isAllowedIDChar().

◆ XIDStartRanges

const llvm::sys::UnicodeCharRange XIDStartRanges[]
static

Definition at line 14 of file UnicodeCharSets.h.

Referenced by isAllowedIDChar(), and isAllowedInitiallyIDChar().