[Lldb-commits] [PATCH] D66546: Extend FindTypes w/ CompilerContext to allow filtering by language
Adrian Prantl via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 22 11:06:26 PDT 2019
aprantl added a comment.
In D66546#1641492 <https://reviews.llvm.org/D66546#1641492>, @clayborg wrote:
> Sounds good about LanguageSet being cheap to pass by value. Are there any paths that will call this over and over where we still will be calculating the LangaugeSet over and over in a type system? We might benefit from using llvm::once and a static LanguageSet in the static functions that return LanguageSets if that is the case?
No, the most "expensive" function is ClangASTContext::GetSupportedLanguagesForTypes() which is called once by the ClangASTContext constructor.
CHANGES SINCE LAST ACTION
More information about the lldb-commits