Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DProgram.cpp38 const size_t CharWidth = S->getCharByteWidth(); in createGlobalString()
H A DByteCodeExprGen.cpp1173 size_t CharWidth = E->getCharByteWidth(); in VisitStringLiteral()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParsePragma.cpp1075 if (SegmentName->getCharByteWidth() != 1) { in HandlePragmaMSSection()
1197 if (SegmentName->getCharByteWidth() != 1) { in HandlePragmaMSSegment()
1261 if (SegmentName->getCharByteWidth() != 1) { in HandlePragmaMSInitSeg()
1350 if (SegmentName->getCharByteWidth() != 1) { in HandlePragmaMSAllocText()
3840 if (OptimizationList->getCharByteWidth() != 1) { in HandlePragmaMSOptimize()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp618 if (!strArg || strArg->getCharByteWidth() != 1) in checkCall_mkstemp()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftMangle.cpp4022 unsigned StringByteLength = StringLength * SL->getCharByteWidth(); in mangleStringLiteral()
4035 unsigned CharByteWidth = SL->getCharByteWidth(); in mangleStringLiteral()
4044 unsigned CharByteWidth = SL->getCharByteWidth(); in mangleStringLiteral()
H A DExprConstant.cpp16650 S->getCharByteWidth() == 1 && in EvaluateBuiltinStrLen()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h1839 assert((isUnevaluated() || getCharByteWidth() == 1) && in getString()
1855 switch (getCharByteWidth()) { in getCodeUnit()
1866 unsigned getByteLength() const { return getCharByteWidth() * getLength(); } in getByteLength()
1868 unsigned getCharByteWidth() const { return StringLiteralBits.CharByteWidth; } in getCharByteWidth() function
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp756 Record.push_back(E->getCharByteWidth()); in VisitStringLiteral()
H A DASTReaderStmt.cpp673 assert((CharByteWidth == E->getCharByteWidth()) && "Wrong character width!"); in VisitStringLiteral()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp10405 return FExpr->getByteLength() - getCharByteWidth() * Offset; in getByteLength()
10409 unsigned getCharByteWidth() const { return FExpr->getCharByteWidth(); } in getCharByteWidth() function in __anon1d690be71e11::FormatStringLiteral
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp6284 if (E->getCharByteWidth() == 1) { in GetConstantArrayFromStringLiteral()
H A DCGBuiltin.cpp4812 assert(Str->getCharByteWidth() == 2); in EmitBuiltinExpr()