compnerd added inline comments.
================
Comment at: lldb/source/Symbol/ClangASTContext.cpp:3915
+bool ClangASTContext::CanPassInRegisters(const CompilerType &type) {
+ if (clang::RecordDecl *record_decl =
+ ClangASTContext::GetAsRecordDecl(type)) {
----------------
I think that using `auto` instead of `clang::RecordDecl` here is fine as you
are already spelling that out in the `ClangASTContext::GetAsRecordDecl`.
Repository:
rLLDB LLDB
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62702/new/
https://reviews.llvm.org/D62702
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits