Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DStringLiteralWithEmbeddedNulCheck.cpp22 if (Node.getCodeUnit(I) == '\0') in AST_MATCHER()
66 if (Offset + 3 < Length && SL->getCodeUnit(Offset) == '\0' && in check()
67 SL->getCodeUnit(Offset + 1) == 'x' && in check()
68 isDigit(SL->getCodeUnit(Offset + 2)) && in check()
69 isDigit(SL->getCodeUnit(Offset + 3))) { in check()
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DProgram.cpp73 const uint32_t CodePoint = I == N ? 0 : S->getCodeUnit(I); in createGlobalString()
/llvm-project-15.0.7/clang/lib/AST/
H A DMicrosoftMangle.cpp3889 uint32_t CodeUnit = SL->getCodeUnit(Index / CharByteWidth); in mangleStringLiteral()
3898 uint32_t CodeUnit = SL->getCodeUnit(Index / CharByteWidth); in mangleStringLiteral()
H A DExpr.cpp1138 uint32_t Char = getCodeUnit(I); in outputString()
1147 uint32_t Trail = getCodeUnit(I + 1); in outputString()
H A DExprConstant.cpp3403 Value = S->getCodeUnit(Index); in extractStringLiteralCharacter()
3428 Value = S->getCodeUnit(I); in expandStringLiteral()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp1887 uint32_t Code = (Offset >= SL->getLength()) ? 0 : SL->getCodeUnit(Offset); in getSValFromStringLiteral()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenModule.cpp5698 Elements.push_back(E->getCodeUnit(i)); in GetConstantArrayFromStringLiteral()
5708 Elements.push_back(E->getCodeUnit(i)); in GetConstantArrayFromStringLiteral()
H A DCGObjCGNU.cpp996 str |= ((uint64_t)SL->getCodeUnit(i)) << ((64 - 4 - 3) - (i*7)); in GenerateConstantString()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DExpr.h1865 uint32_t getCodeUnit(size_t i) const { in getCodeUnit() function
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaInit.cpp2951 llvm::APInt CodeUnit(PromotedCharTyWidth, SL->getCodeUnit(i)); in CheckDesignatedInitializer()
H A DSemaExpr.cpp1983 Value = Lit->getCodeUnit(I); in ActOnStringLiteral()