================
@@ -4562,6 +4591,19 @@
TypeSystemClang::AddConstModifier(lldb::opaque_compiler_type_t type) {
return CompilerType();
}
+CompilerType
+TypeSystemClang::AddPtrAuthModifier(lldb::opaque_compiler_type_t type,
+ uint32_t payload) {
+ if (type) {
----------------
Michael137 wrote:
Could change these to early-return (which [LLVM style guide
recommends](https://llvm.org/docs/CodingStandards.html#use-early-exits-and-continue-to-simplify-code)).
I.e.:
```
if (!type)
return {};
...
```
This applies to the other functions above as well
https://github.com/llvm/llvm-project/pull/84387
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits