[clang] [CIR] [Upstream local initialization for ArrayType (PR #132974)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 25 17:59:12 PDT 2025


================
@@ -113,6 +113,11 @@ class CIRGenModule : public CIRGenTypeCache {
   void emitGlobalVarDefinition(const clang::VarDecl *vd,
                                bool isTentative = false);
 
+  // Return the result of value-initializing the given type, i.e. a null
+  /// expression of the given type.  This is usually, but not always, an LLVM
+  /// null constant.
----------------
andykaylor wrote:

The last sentence of this comment is incorrect.

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


More information about the cfe-commits mailing list