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

References

tools/clang/include/clang/AST/Expr.h
 1785     assert(i < getLength() && "out of bounds access");
 1797   unsigned getByteLength() const { return getCharByteWidth() * getLength(); }
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h
 1787   return Node.getLength() == N;
tools/clang/lib/AST/Expr.cpp
 1114   unsigned LastSlashX = getLength();
 1115   for (unsigned I = 0, N = getLength(); I != N; ++I) {
tools/clang/lib/AST/ExprConstant.cpp
 2953   if (Index < S->getLength())
 2973                    std::min(S->getLength(), Elts), Elts);
tools/clang/lib/AST/Interp/Program.cpp
   41   Descriptor *Desc = allocateDescriptor(S, CharType, S->getLength() + 1,
   56   for (unsigned I = 0, N = S->getLength(); I <= N; ++I) {
tools/clang/lib/AST/MicrosoftMangle.cpp
 3466     if (Index / CharByteWidth >= SL->getLength())
 3475     if (Index / CharByteWidth >= SL->getLength())
tools/clang/lib/CodeGen/CGObjCGNU.cpp
  979     auto LiteralLength = SL->getLength();
tools/clang/lib/CodeGen/CodeGenModule.cpp
 4868     for(unsigned i = 0, e = E->getLength(); i != e; ++i)
 4878   for(unsigned i = 0, e = E->getLength(); i != e; ++i)
tools/clang/lib/Parse/ParsePragma.cpp
  919     if (SegmentName->getLength())
tools/clang/lib/Sema/SemaChecking.cpp
 6746   unsigned getLength() const { return FExpr->getLength() - Offset; }
 7032       if (Offset.isNegative() || Offset > StrE->getLength()) {
tools/clang/lib/Sema/SemaDeclAttr.cpp
  663       if (StrLit->getLength() == 0 ||
tools/clang/lib/Sema/SemaExpr.cpp
 1751     for (unsigned I = 0, N = Lit->getLength(); I != N; ++I) {
tools/clang/lib/Sema/SemaInit.cpp
 2872       uint64_t StrLen = SL->getLength();
tools/clang/lib/Serialization/ASTReaderStmt.cpp
  627   assert((Length == E->getLength()) && "Wrong Length!");
tools/clang/lib/Serialization/ASTWriterStmt.cpp
  558   Record.push_back(E->getLength());
tools/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
  672       if (ArraySize >= String->getLength() + 1)
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp
 1696       int64_t length = Str->getLength();
tools/clang/tools/extra/clang-tidy/abseil/FasterStrsplitDelimiterCheck.cpp
   22 AST_MATCHER(StringLiteral, lengthIsOne) { return Node.getLength() == 1; }
   26   assert(Literal->getLength() == 1 &&
tools/clang/tools/extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp
   85           return StrSL->getLength();
   88     return SrcSL->getLength();
tools/clang/tools/extra/clang-tidy/bugprone/StringConstructorCheck.cpp
  136     if (Lit->getValue().ugt(Str->getLength())) {
tools/clang/tools/extra/clang-tidy/bugprone/StringLiteralWithEmbeddedNulCheck.cpp
   21   for (size_t i = 0; i < Node.getLength(); ++i)
   63     for (size_t Offset = 0, Length = SL->getLength(); Offset < Length;
tools/clang/tools/extra/clang-tidy/modernize/UnaryStaticAssertCheck.cpp
   33   if (!AssertMessage || AssertMessage->getLength() ||