Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp588 if (!strArg || strArg->getCharByteWidth() != 1) in checkCall_mkstemp()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DMicrosoftMangle.cpp3406 unsigned StringByteLength = StringLength * SL->getCharByteWidth(); in mangleStringLiteral()
3419 unsigned CharByteWidth = SL->getCharByteWidth(); in mangleStringLiteral()
3428 unsigned CharByteWidth = SL->getCharByteWidth(); in mangleStringLiteral()
H A DExprConstant.cpp2663 APSInt Value(S->getCharByteWidth() * Info.Ctx.getCharWidth(), in extractStringLiteralCharacter()
2683 APSInt Value(S->getCharByteWidth() * Info.Ctx.getCharWidth(), in expandStringLiteral()
8381 S->getCharByteWidth() == 1 && in VisitBuiltinCallExpr()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DExpr.h1650 assert(getCharByteWidth() == 1 && in getString()
1666 switch (getCharByteWidth()) { in getCodeUnit()
1677 unsigned getByteLength() const { return getCharByteWidth() * getLength(); } in getByteLength()
1679 unsigned getCharByteWidth() const { return StringLiteralBits.CharByteWidth; } in getCharByteWidth() function
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParsePragma.cpp786 if (SegmentName->getCharByteWidth() != 1) { in HandlePragmaMSSection()
908 if (SegmentName->getCharByteWidth() != 1) { in HandlePragmaMSSegment()
972 if (SegmentName->getCharByteWidth() != 1) { in HandlePragmaMSInitSeg()
H A DParseDecl.cpp1038 if (MessageStringLiteral->getCharByteWidth() != 1) { in ParseAvailabilityAttribute()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriterStmt.cpp525 Record.push_back(E->getCharByteWidth()); in VisitStringLiteral()
H A DASTReaderStmt.cpp607 assert((CharByteWidth == E->getCharByteWidth()) && "Wrong character width!"); in VisitStringLiteral()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaChecking.cpp6278 return FExpr->getByteLength() - getCharByteWidth() * Offset; in getByteLength()
6282 unsigned getCharByteWidth() const { return FExpr->getCharByteWidth(); } in getCharByteWidth() function in __anon7dcd61c00e11::FormatStringLiteral
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenModule.cpp4438 if (E->getCharByteWidth() == 1) { in GetConstantArrayFromStringLiteral()
H A DCGBuiltin.cpp2950 assert(Str->getCharByteWidth() == 2); in EmitBuiltinExpr()