clang API Documentation

Variables
UnicodeCharSets.h File Reference
#include "llvm/Support/UnicodeCharRanges.h"
Include dependency graph for UnicodeCharSets.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

static const
llvm::sys::UnicodeCharRange 
C11AllowedIDCharRanges []
static const
llvm::sys::UnicodeCharRange 
CXX03AllowedIDCharRanges []
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

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 15 of file UnicodeCharSets.h.

Referenced by isAllowedIDChar().

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

Definition at line 385 of file UnicodeCharSets.h.

Referenced by isAllowedInitiallyIDChar().

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

Definition at line 166 of file UnicodeCharSets.h.

Referenced by isAllowedIDChar(), and maybeDiagnoseIDCharCompat().

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 393 of file UnicodeCharSets.h.

Referenced by isAllowedInitiallyIDChar(), and maybeDiagnoseIDCharCompat().

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

Definition at line 47 of file UnicodeCharSets.h.

Referenced by isAllowedIDChar(), and maybeDiagnoseIDCharCompat().

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 402 of file UnicodeCharSets.h.