Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h | ||
---|---|---|
427 | Could instead change names into SmallVector<ArgumentInfo> where struct ArgumentInfo { char const* name = nullptr; bool is_default = false; }; So any future flags don't need to be separate vectors. |
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp | ||
---|---|---|
1432 | Problem is currently that LLDB currently can't reconstruct a generic ClassTemplateDecl from DWARF because we only have information about instantiations. Instead we re-use the decls we constructed from the first instantiation we encountered. With this patch we would set the ClassTemplateDecl default parameter to a concrete type which isn't quite correct because the TypePrinter asks the ClassTemplateDecl for the generic default parameter and checks the instantiations arguments for substitutability. So to make this work we either:
|
Could instead change names into SmallVector<ArgumentInfo> where
So any future flags don't need to be separate vectors.