================
@@ -487,14 +490,15 @@ def Main():
 
                 if bugs_metadata == "DILocation":
                     try:
+                        origin = bug["origin"]
                         action = bug["action"]
                         bb_name = bug["bb-name"]
                         fn_name = bug["fn-name"]
                         instr = bug["instr"]
                     except:
                         skipped_bugs += 1
                         continue
-                    di_loc_bug = DILocBug(action, bb_name, fn_name, instr)
+                    di_loc_bug = DILocBug(origin, action, bb_name, fn_name, 
instr)
----------------
SLTozer wrote:

Oddly the parameters to this function are passed in reverse of their 
use/declaration; wasn't sure why, but I decided to keep the ordering rather 
than make the new parameter an odd one out.

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

Reply via email to