Ericsson / clang

Cross Translation Unit analysis capability for Clang Static Analyzer. (Fork of official clang at http://llvm.org/git/clang)
http://clang.llvm.org/
Other
15 stars 10 forks source link

Assertion `Begin + idx < End' failed. #703

Closed balazske closed 4 years ago

balazske commented 5 years ago

Assertion during analysis of redis (4.0.10) with clang master commit 668b11b2.

clang-10: llvm-project/clang/include/clang/AST/ASTVector.h:116: const T& clang::ASTVector<T>::operator[](unsigned int) const [with T = long unsigned int; clang::ASTVector<T>::const_reference = const long unsigned int&]: Assertion `Begin + idx < End' failed.
balazske commented 5 years ago

Fix for this problem: https://reviews.llvm.org/D66866