Home
last modified time | relevance | path

Searched refs:CodeUnit (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftMangle.cpp4195 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 DCompiler.cpp1903 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 DSemaInit.cpp3224 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 DSemaDeclCXX.cpp17039 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()