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

Handle name conflict with expected #654

Closed gamesh411 closed 5 years ago

gamesh411 commented 5 years ago

In preparation for ASTImport Strategies, the interface of HandleNameConflict is changed to use Expected. FieldDecls and FunctionTemplateDecls are extended to use the name conflict resolution strategies.

Please double check the IDNS (identifier namespace) arguments that I have come up with, as I am not entirely familiar with the clang implementation of these (their semantic meaning is not clear to me).

Fixes #585 and #589

martong commented 5 years ago

https://reviews.llvm.org/D59692 includes this too.