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 visibility everywhere after lookup #540

Closed martong closed 5 years ago

martong commented 5 years ago

We should implement a visibility check on all lookup results. Atm we check visibility only in case of FunctionDecl and VarDecl. We should however do that with all other Decl nodes (TypedefNameDecl, RecordDecl, etc). This is important because unnamed namespaces of different TUs may have nodes with the same name but with different definition.

balazske commented 5 years ago

related:

631 #632 #633 #634 #635 #639 #640 #644

dkrupp commented 5 years ago

continue with fixing rest of the nodes. for example templates