================
@@ -9074,6 +9111,21 @@ CompilerType 
TypeSystemClang::DeclGetFunctionArgumentType(void *opaque_decl,
   return CompilerType();
 }
 
+Scalar TypeSystemClang::DeclGetConstantValue(void *opaque_decl) {
+  clang::Decl *decl = static_cast<clang::Decl *>(opaque_decl);
+  if (clang::VarDecl *var_decl = llvm::dyn_cast<clang::VarDecl>(decl)) {
----------------
Michael137 wrote:

Minor: could follow the early-return style here

https://github.com/llvm/llvm-project/pull/89730
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to