Home
last modified time | relevance | path

Searched refs:ArrayBound (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGExprConstant.cpp394 llvm::Type *CommonElementType, unsigned ArrayBound,
929 llvm::Type *CommonElementType, unsigned ArrayBound, in EmitArrayConstant() argument
933 unsigned NonzeroLength = ArrayBound; in EmitArrayConstant()
945 unsigned TrailingZeroes = ArrayBound - NonzeroLength; in EmitArrayConstant()
967 } else if (Elements.size() != ArrayBound) { in EmitArrayConstant()
969 Elements.resize(ArrayBound, Filler); in EmitArrayConstant()
977 llvm::ArrayType::get(CommonElementType, ArrayBound), Elements); in EmitArrayConstant()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExprConstant.cpp9384 llvm::APSInt ArrayBound; in VisitCXXNewExpr() local
9385 if (!EvaluateInteger(Stripped, ArrayBound, Info)) in VisitCXXNewExpr()
9392 if (ArrayBound.isSigned() && ArrayBound.isNegative()) { in VisitCXXNewExpr()
9397 << ArrayBound << (*ArraySize)->getSourceRange(); in VisitCXXNewExpr()
9404 ArrayBound) > in VisitCXXNewExpr()
9410 << ArrayBound << (*ArraySize)->getSourceRange(); in VisitCXXNewExpr()
9429 std::max(CAT->getSize().getBitWidth(), ArrayBound.getBitWidth()); in VisitCXXNewExpr()
9431 llvm::APInt AllocBound = ArrayBound.zextOrSelf(Bits); in VisitCXXNewExpr()
9449 AllocType = Info.Ctx.getConstantArrayType(AllocType, ArrayBound, nullptr, in VisitCXXNewExpr()
/netbsd-src/external/apache2/llvm/dist/clang/docs/analyzer/
H A Dcheckers.rst2081 .. _alpha-security-ArrayBound:
2083 alpha.security.ArrayBound (C)
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Checkers/
H A DCheckers.td942 def ArrayBoundChecker : Checker<"ArrayBound">,