Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/abseil/
H A DFasterStrsplitDelimiterCheck.cpp28 assert(Literal->getCharByteWidth() == 1 && in makeCharacterLiteral()
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DProgram.cpp37 const size_t CharWidth = S->getCharByteWidth(); in createGlobalString()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParsePragma.cpp969 if (SegmentName->getCharByteWidth() != 1) { in HandlePragmaMSSection()
1091 if (SegmentName->getCharByteWidth() != 1) { in HandlePragmaMSSegment()
1155 if (SegmentName->getCharByteWidth() != 1) { in HandlePragmaMSInitSeg()
1191 if (SegmentName->getCharByteWidth() != 1) { in HandlePragmaMSAllocText()
3678 if (OptimizationList->getCharByteWidth() != 1) { in HandlePragmaMSOptimize()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp620 if (!strArg || strArg->getCharByteWidth() != 1) in checkCall_mkstemp()
/llvm-project-15.0.7/clang/lib/AST/
H A DMicrosoftMangle.cpp3873 unsigned StringByteLength = StringLength * SL->getCharByteWidth(); in mangleStringLiteral()
3886 unsigned CharByteWidth = SL->getCharByteWidth(); in mangleStringLiteral()
3895 unsigned CharByteWidth = SL->getCharByteWidth(); in mangleStringLiteral()
H A DExprConstant.cpp3400 APSInt Value(S->getCharByteWidth() * Info.Ctx.getCharWidth(), in extractStringLiteralCharacter()
3423 APSInt Value(S->getCharByteWidth() * Info.Ctx.getCharWidth(), in expandStringLiteral()
16004 S->getCharByteWidth() == 1 && in EvaluateBuiltinStrLen()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DExpr.h1851 assert(getCharByteWidth() == 1 && in getString()
1867 switch (getCharByteWidth()) { in getCodeUnit()
1878 unsigned getByteLength() const { return getCharByteWidth() * getLength(); } in getByteLength()
1880 unsigned getCharByteWidth() const { return StringLiteralBits.CharByteWidth; } in getCharByteWidth() function
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterStmt.cpp685 Record.push_back(E->getCharByteWidth()); in VisitStringLiteral()
H A DASTReaderStmt.cpp657 assert((CharByteWidth == E->getCharByteWidth()) && "Wrong character width!"); in VisitStringLiteral()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaChecking.cpp8434 return FExpr->getByteLength() - getCharByteWidth() * Offset; in getByteLength()
8438 unsigned getCharByteWidth() const { return FExpr->getCharByteWidth(); } in getCharByteWidth() function in __anon8097fee11b11::FormatStringLiteral
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenModule.cpp5679 if (E->getCharByteWidth() == 1) { in GetConstantArrayFromStringLiteral()
H A DCGBuiltin.cpp4209 assert(Str->getCharByteWidth() == 2); in EmitBuiltinExpr()