Searched refs:ArrayBound (Results 1 – 4 of 4) sorted by relevance
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGExprConstant.cpp | 394 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 D | ExprConstant.cpp | 9384 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 D | checkers.rst | 2081 .. _alpha-security-ArrayBound: 2083 alpha.security.ArrayBound (C)
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Checkers/ |
H A D | Checkers.td | 942 def ArrayBoundChecker : Checker<"ArrayBound">,
|