[llvm] [llvm][Bitcode][ObjC] Fix order of setter/getter argument to DIObjCProperty constructor (PR #165421)

Orlando Cazalet-Hyams via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 29 02:06:38 PDT 2025


================
@@ -2323,7 +2323,7 @@ Error MetadataLoader::MetadataLoaderImpl::parseOneMetadata(
         GET_OR_DISTINCT(DIObjCProperty,
                         (Context, getMDString(Record[1]),
                          getMDOrNull(Record[2]), Record[3],
-                         getMDString(Record[4]), getMDString(Record[5]),
+                         getMDString(Record[5]), getMDString(Record[4]),
----------------
OCHyams wrote:

Possibly worth adding a comment, or using variable names or something here? On the other hand maybe that doesn't really add much value - I'll leave it up to you.

https://github.com/llvm/llvm-project/pull/165421


More information about the llvm-commits mailing list