[PATCH] D148692: Fix uninitialized class members

LuoYuanke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 12 23:59:23 PDT 2023


LuoYuanke added a comment.

It looks to me that initializing variable is a good practice to avoid security issue. If it doesn’t cause performance degradation, it should be better than uninitialized variable which may cause UB.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148692



More information about the llvm-commits mailing list