Home
last modified time | relevance | path

Searched refs:getCharByteWidth (Results 1 – 11 of 11) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/
H A DProgram.cpp22 const size_t CharWidth = S->getCharByteWidth(); in createGlobalString()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp620 if (!strArg || strArg->getCharByteWidth() != 1) in checkCall_mkstemp()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftMangle.cpp3836 unsigned StringByteLength = StringLength * SL->getCharByteWidth(); in mangleStringLiteral()
3849 unsigned CharByteWidth = SL->getCharByteWidth(); in mangleStringLiteral()
3858 unsigned CharByteWidth = SL->getCharByteWidth(); in mangleStringLiteral()
H A DExprConstant.cpp3386 APSInt Value(S->getCharByteWidth() * Info.Ctx.getCharWidth(), in extractStringLiteralCharacter()
3409 APSInt Value(S->getCharByteWidth() * Info.Ctx.getCharWidth(), in expandStringLiteral()
11865 S->getCharByteWidth() == 1 && in VisitBuiltinCallExpr()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h1838 assert(getCharByteWidth() == 1 && in getString()
1854 switch (getCharByteWidth()) { in getCodeUnit()
1865 unsigned getByteLength() const { return getCharByteWidth() * getLength(); } in getByteLength()
1867 unsigned getCharByteWidth() const { return StringLiteralBits.CharByteWidth; } in getCharByteWidth() function
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParsePragma.cpp876 if (SegmentName->getCharByteWidth() != 1) { in HandlePragmaMSSection()
998 if (SegmentName->getCharByteWidth() != 1) { in HandlePragmaMSSegment()
1062 if (SegmentName->getCharByteWidth() != 1) { in HandlePragmaMSInitSeg()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp687 Record.push_back(E->getCharByteWidth()); in VisitStringLiteral()
H A DASTReaderStmt.cpp672 assert((CharByteWidth == E->getCharByteWidth()) && "Wrong character width!"); in VisitStringLiteral()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp7489 return FExpr->getByteLength() - getCharByteWidth() * Offset; in getByteLength()
7493 unsigned getCharByteWidth() const { return FExpr->getCharByteWidth(); } in getCharByteWidth() function in __anonfebdc2651211::FormatStringLiteral
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp5294 if (E->getCharByteWidth() == 1) { in GetConstantArrayFromStringLiteral()
H A DCGBuiltin.cpp4135 assert(Str->getCharByteWidth() == 2); in EmitBuiltinExpr()