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 `!Ret && "Unable to generate USR"' failed. #693

Closed balazske closed 4 years ago

balazske commented 5 years ago

analysis of protobuf with clang master

"monorepo" commit b32ceb79b00a24312062b7d78ac29c0a3ba0cd8a "[TargetLowering] SimplifyMultipleUseDemandedBits - add BITCAST pass through support."

/clang/lib/CrossTU/CrossTranslationUnit.cpp:200: static std::__cxx11::string clang::cross_tu::CrossTranslationUnitContext::getLookupName(const clang::NamedDecl*): Assertion `!Ret && "Unable to generate USR"' failed.
balazske commented 5 years ago

https://reviews.llvm.org/D65445 should fix this problem.