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

GetAlreadyImportedOrNull should be a constant function taking a const Decl* #379

Closed martong closed 5 years ago

martong commented 6 years ago

Change the function signature to

Decl *ASTImporter::GetAlreadyImportedOrNull(Decl const *FromD) const

This implies moving ImportDefinition outside.

Ensure that there is no regression in tests (inc lldb) and in analysis of opensource projects.

martong commented 5 years ago

Fixed in #512