arichardson added a comment.

Maybe add another test that checks for the @__cxx_global_var_init() constructor 
function?
E.g. something like this:

  int init_func(int arg) {
      return arg + 1;
  }
  
  int my_global = init_func(2);



================
Comment at: llvm/utils/update_cc_test_checks.py:274-277
       prefixes = p[0]
       for prefix in prefixes:
         func_dict.update({prefix: dict()})
+        func_order.update({prefix: []})
----------------
This should avoid a few update() calls. Not that performance really matters 
here.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83004/new/

https://reviews.llvm.org/D83004

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to