Searched refs:CodeUnit (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | MicrosoftMangle.cpp | 4195 uint32_t CodeUnit = SL->getCodeUnit(Index / CharByteWidth); in mangleStringLiteral() local 4197 return static_cast<char>((CodeUnit >> (8 * OffsetInCodeUnit)) & 0xff); in mangleStringLiteral() 4204 uint32_t CodeUnit = SL->getCodeUnit(Index / CharByteWidth); in mangleStringLiteral() local 4206 return static_cast<char>((CodeUnit >> (8 * OffsetInCodeUnit)) & 0xff); in mangleStringLiteral()
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Compiler.cpp | 1903 uint32_t CodeUnit = E->getCodeUnit(I); in VisitStringLiteral() local 1906 this->emitConstSint8(CodeUnit, E); in VisitStringLiteral() 1909 this->emitConstUint16(CodeUnit, E); in VisitStringLiteral() 1912 this->emitConstUint32(CodeUnit, E); in VisitStringLiteral()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaInit.cpp | 3224 llvm::APInt CodeUnit(PromotedCharTyWidth, SL->getCodeUnit(i)); in CheckDesignatedInitializer() local 3226 Context, CodeUnit, PromotedCharTy, SubExpr->getExprLoc()); in CheckDesignatedInitializer() 3247 llvm::APInt CodeUnit(PromotedCharTyWidth, Str[i]); in CheckDesignatedInitializer() local 3249 Context, CodeUnit, PromotedCharTy, SubExpr->getExprLoc()); in CheckDesignatedInitializer()
|
H A D | SemaDeclCXX.cpp | 17039 uint32_t CodeUnit = static_cast<uint32_t>(V.getInt().getZExtValue()); in ConvertAPValueToString() local 17042 WriteCharValueForDiagnostic(CodeUnit, BTy, TyWidth, Str); in ConvertAPValueToString() 17044 << llvm::format_hex_no_prefix(CodeUnit, /*Width=*/2, in ConvertAPValueToString()
|