Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DProgram.cpp34 const size_t CharWidth = S->getCharByteWidth(); in createGlobalString()
H A DCompiler.cpp2478 unsigned CharWidth = E->getCharByteWidth(); in VisitStringLiteral()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParsePragma.cpp1072 if (SegmentName->getCharByteWidth() != 1) { in HandlePragmaMSSection()
1194 if (SegmentName->getCharByteWidth() != 1) { in HandlePragmaMSSegment()
1257 if (SegmentName->getCharByteWidth() != 1) { in HandlePragmaMSInitSeg()
1343 if (SegmentName->getCharByteWidth() != 1) { in HandlePragmaMSAllocText()
3810 if (OptimizationList->getCharByteWidth() != 1) { in HandlePragmaMSOptimize()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h1866 assert((isUnevaluated() || getCharByteWidth() == 1) && in getString()
1882 switch (getCharByteWidth()) { in getCodeUnit()
1899 unsigned Width = getCharByteWidth() * BitWidth; in getCodeUnitS()
1906 unsigned getByteLength() const { return getCharByteWidth() * getLength(); } in getByteLength()
1908 unsigned getCharByteWidth() const { return StringLiteralBits.CharByteWidth; } in getCharByteWidth() function
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftMangle.cpp4271 unsigned StringByteLength = StringLength * SL->getCharByteWidth(); in mangleStringLiteral()
4284 unsigned CharByteWidth = SL->getCharByteWidth(); in mangleStringLiteral()
4293 unsigned CharByteWidth = SL->getCharByteWidth(); in mangleStringLiteral()
H A DExprConstant.cpp2197 AsString.CharWidth = Lit->getCharByteWidth(); in GetLValueBaseAsString()
17992 S->getCharByteWidth() == 1 && in EvaluateBuiltinStrLen()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenModule.cpp828 if (e->getCharByteWidth() == 1) { in getConstantArrayFromStringLiteral()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp1826 if (!Literal || Literal->getCharByteWidth() != 1) { in PointerAuthStringDiscriminator()
6160 return FExpr->getByteLength() - getCharByteWidth() * Offset; in getByteLength()
6164 unsigned getCharByteWidth() const { return FExpr->getCharByteWidth(); } in getCharByteWidth() function in __anon28c3fbb11e11::FormatStringLiteral
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp769 Record.push_back(E->getCharByteWidth()); in VisitStringLiteral()
H A DASTReaderStmt.cpp680 assert((CharByteWidth == E->getCharByteWidth()) && "Wrong character width!"); in VisitStringLiteral()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp842 if (SL->getCharByteWidth() == 1) in hasUnsafeFormatOrSArg()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp5206 assert(Str->getCharByteWidth() == 2); in EmitBuiltinExpr()
H A DCodeGenModule.cpp6754 if (E->getCharByteWidth() == 1) { in GetConstantArrayFromStringLiteral()