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

Structural equivalence does not check for isExplicitlyDefaulted. #702

Open balazske opened 5 years ago

balazske commented 5 years ago

In isStructurallyEquivalent (CXXMethodDecl) there is no check for the isExplicitlyDefaulted property. This can be different from isDefaulted (I think isDefaulted is true when the function is default but generated by the compiler, and isExplicitlyDefaulted means there was a =default in the code.)