Searched refs:ArrayBound (Results 1 – 4 of 4) sorted by relevance
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGExprConstant.cpp | 395 llvm::Type *CommonElementType, unsigned ArrayBound, 949 llvm::Type *CommonElementType, unsigned ArrayBound, in EmitArrayConstant() argument 953 unsigned NonzeroLength = ArrayBound; in EmitArrayConstant() 965 unsigned TrailingZeroes = ArrayBound - NonzeroLength; in EmitArrayConstant() 987 } else if (Elements.size() != ArrayBound) { in EmitArrayConstant() 989 Elements.resize(ArrayBound, Filler); in EmitArrayConstant() 997 llvm::ArrayType::get(CommonElementType, ArrayBound), Elements); in EmitArrayConstant()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 9556 llvm::APSInt ArrayBound; in VisitCXXNewExpr() local 9557 if (!EvaluateInteger(Stripped, ArrayBound, Info)) in VisitCXXNewExpr() 9564 if (ArrayBound.isSigned() && ArrayBound.isNegative()) { in VisitCXXNewExpr() 9569 << ArrayBound << (*ArraySize)->getSourceRange(); in VisitCXXNewExpr() 9576 ArrayBound) > in VisitCXXNewExpr() 9582 << ArrayBound << (*ArraySize)->getSourceRange(); in VisitCXXNewExpr() 9601 std::max(CAT->getSize().getBitWidth(), ArrayBound.getBitWidth()); in VisitCXXNewExpr() 9603 llvm::APInt AllocBound = ArrayBound.zext(Bits); in VisitCXXNewExpr() 9621 AllocType = Info.Ctx.getConstantArrayType(AllocType, ArrayBound, nullptr, in VisitCXXNewExpr()
|
| /openbsd-src/gnu/llvm/clang/docs/analyzer/ |
| H A D | checkers.rst | 2105 .. _alpha-security-ArrayBound: 2107 alpha.security.ArrayBound (C)
|
| /openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Checkers/ |
| H A D | Checkers.td | 1002 def ArrayBoundChecker : Checker<"ArrayBound">,
|