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

Improved use of IsStructuralMatch. #602

Closed balazske closed 5 years ago

balazske commented 5 years ago

Handling of EnumConstantDecl for structural equivalence was moved into StructuralEquivalenceContext from ASTNodeImporter, and a single function isStructurallyEquivalent for Decl is used. (This change should be small enough to be in a single commit, and is a refactoring only.)