Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DProgram.cpp22 const size_t CharWidth = S->getCharByteWidth(); in createGlobalString()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp620 if (!strArg || strArg->getCharByteWidth() != 1) in checkCall_mkstemp()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DMicrosoftMangle.cpp3833 unsigned StringByteLength = StringLength * SL->getCharByteWidth(); in mangleStringLiteral()
3846 unsigned CharByteWidth = SL->getCharByteWidth(); in mangleStringLiteral()
3855 unsigned CharByteWidth = SL->getCharByteWidth(); in mangleStringLiteral()
H A DExprConstant.cpp3383 APSInt Value(S->getCharByteWidth() * Info.Ctx.getCharWidth(), in extractStringLiteralCharacter()
3406 APSInt Value(S->getCharByteWidth() * Info.Ctx.getCharWidth(), in expandStringLiteral()
11830 S->getCharByteWidth() == 1 && in VisitBuiltinCallExpr()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DExpr.h1841 assert(getCharByteWidth() == 1 && in getString()
1857 switch (getCharByteWidth()) { in getCodeUnit()
1868 unsigned getByteLength() const { return getCharByteWidth() * getLength(); } in getByteLength()
1870 unsigned getCharByteWidth() const { return StringLiteralBits.CharByteWidth; } in getCharByteWidth() function
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTWriterStmt.cpp676 Record.push_back(E->getCharByteWidth()); in VisitStringLiteral()
H A DASTReaderStmt.cpp662 assert((CharByteWidth == E->getCharByteWidth()) && "Wrong character width!"); in VisitStringLiteral()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaChecking.cpp7217 return FExpr->getByteLength() - getCharByteWidth() * Offset; in getByteLength()
7221 unsigned getCharByteWidth() const { return FExpr->getCharByteWidth(); } in getCharByteWidth() function in __anon7fa672bc1311::FormatStringLiteral
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenModule.cpp5264 if (E->getCharByteWidth() == 1) { in GetConstantArrayFromStringLiteral()
H A DCGBuiltin.cpp4054 assert(Str->getCharByteWidth() == 2); in EmitBuiltinExpr()