reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

gen/tools/clang/include/clang/AST/AttrImpl.inc
  661     return alignmentExpr ? alignmentExpr->EvaluateKnownConstInt(Ctx).getZExtValue() * Ctx.getCharWidth() : Ctx.getTargetDefaultAlignForAttributeAligned();
tools/clang/lib/AST/ASTContext.cpp
 2247   return CharUnits::fromQuantity(BitSize / getCharWidth());
 2252   return CharSize.getQuantity() * getCharWidth();
tools/clang/lib/AST/ExprConstant.cpp
 2951   APSInt Value(S->getCharByteWidth() * Info.Ctx.getCharWidth(),
 2974   APSInt Value(S->getCharByteWidth() * Info.Ctx.getCharWidth(),
 6261       assert(FieldOffsetBits % Info.Ctx.getCharWidth() == 0 &&
 6375     APSInt Val(SizeOf.getQuantity() * Info.Ctx.getCharWidth(), true);
 6432       assert(FieldOffsetBits % Info.Ctx.getCharWidth() == 0);
 6435           CharUnits::fromQuantity(FieldOffsetBits / Info.Ctx.getCharWidth()) +
 8281       DesiredVal = Desired.trunc(Info.Ctx.getCharWidth()).getZExtValue();
tools/clang/lib/AST/MicrosoftMangle.cpp
  598     assert(FieldOffset % getASTContext().getCharWidth() == 0 &&
  600     FieldOffset /= getASTContext().getCharWidth();
tools/clang/lib/AST/RecordLayoutBuilder.cpp
  170   : Context(Context), CharWidth(Context.getCharWidth()), Class(Class) {
  785     assert(Size % Context.getCharWidth() == 0);
  796     assert(DataSize % Context.getCharWidth() == 0);
tools/clang/lib/CodeGen/CGAtomic.cpp
   81             C.toCharUnitsFromBits(Offset + OrigBFI.Size + C.getCharWidth() - 1)
tools/clang/lib/CodeGen/CGClass.cpp
  931                                 FirstByteOffset + Ctx.getCharWidth() - 1;
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 2556         FieldOffset %= CGM.getContext().getCharWidth();
tools/clang/lib/CodeGen/CGExpr.cpp
 4049     unsigned CharWidth = getContext().getCharWidth();
tools/clang/lib/CodeGen/CGExprConstant.cpp
  182   const uint64_t CharWidth = CGM.getContext().getCharWidth();
tools/clang/lib/CodeGen/CGExprScalar.cpp
 2690                           CGF.getContext().getCharWidth();
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp
  119     uint64_t RoundedFEnd = llvm::alignTo(FEndInBits, Ctx.getCharWidth());
  531           Size.getQuantity() * this->CGF->getContext().getCharWidth());
tools/clang/lib/CodeGen/CGObjCGNU.cpp
  289             CGM.getContext().getCharWidth());
 1173         CGM.getContext().getCharWidth());
 1819           CGM.getContext().getCharWidth());
 2791         CGM.getContext().getCharWidth());
 2936                       CGM.getContext().getCharWidth());
tools/clang/lib/CodeGen/CGObjCMac.cpp
 6349     InstanceStart = RL.getFieldOffset(0) / CGM.getContext().getCharWidth();
tools/clang/lib/CodeGen/CGObjCRuntime.cpp
   33          CGM.getContext().getCharWidth();
   41          CGM.getContext().getCharWidth();
   90   uint64_t BitOffset = FieldBitOffset % CGF.CGM.getContext().getCharWidth();
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1595   unsigned alignment = D->getMaxAlignment() / Context.getCharWidth();
tools/clang/lib/CodeGen/CodeGenTBAA.cpp
  263                         Layout.getFieldOffset(idx) / Context.getCharWidth();
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 4973   unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth();
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
 4127   unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth();
tools/clang/lib/Sema/SemaChecking.cpp
 6042     if (Result < Context.getCharWidth())
 6044              << (unsigned)Context.getCharWidth() << Arg->getSourceRange();
 8359       if (llvm::isUIntN(S.Context.getCharWidth(), CL->getValue()))
 9651               (Context.getTypeSize(PointeeTy) == Context.getCharWidth()))
tools/clang/lib/Sema/SemaExpr.cpp
 9550       llvm::isUIntN(Ctx.getCharWidth(), CharExpr->getValue())) {
tools/clang/lib/Sema/SemaExprCXX.cpp
 2095             << unsigned(Alignment / Context.getCharWidth())
 2096             << unsigned(NewAlignment / Context.getCharWidth());
tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
 2210   int offsetBytes = Offset.getOffset() / C.getASTContext().getCharWidth();
tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp
 1389       Offset += BaseOffset.getQuantity() * R->getContext().getCharWidth();
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp
  885     Length = ExtentInt.getLimitedValue() * SVB.getContext().getCharWidth();
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousMemsetUsageCheck.cpp
   78     const auto UCharMax = (1 << Result.Context->getCharWidth()) - 1;
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
 1810   size = record_layout.getSize().getQuantity() * m_ast_context->getCharWidth();
 1812               m_ast_context->getCharWidth();