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 "Member function is already a specialization" failed. #692

Closed balazske closed 4 years ago

balazske commented 5 years ago

analysis of bitcoin with clang master

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

llvm-project/clang/lib/AST/Decl.cpp:3449: void clang::FunctionDecl::setDescribedFunctionTemplate(clang::FunctionTemplateDecl*): Assertion `TemplateOrSpecialization.isNull() && "Member function is already a specialization"' failed.
balazske commented 5 years ago

This problem is fixed by: https://reviews.llvm.org/D65203