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

Simplify ASTImporting in LLDB #638

Closed dkrupp closed 5 years ago

dkrupp commented 5 years ago

remove getOriginDecl(..) from lldb

martong commented 5 years ago

We can't remove getOriginalDecl yet. Because while ImportedFromDecls does not have an entry for the given "to" Decl, getOriginalDecl still provides an entry.

./bin/lldb-dotest -p TestVectorOfEnums -t of https://reviews.llvm.org/D59847 fails when we use onlye the ImportedFromDecls.

We may try to eliminate getOriginalDecl again, once we have the ImportedFromDecls in ASTImporterSharedState and once the sharedstate is introduced in LLDB too.