[PATCH] D11109: basic code generation for use-after-dtor

Kostya Serebryany kcc at google.com
Mon Jul 13 11:26:46 PDT 2015


kcc added inline comments.

================
Comment at: lib/CodeGen/CGClass.cpp:1456
@@ +1455,3 @@
+  if (CGM.getCodeGenOpts().SanitizeMemoryUseAfterDtor) {
+    SmallVector<llvm::Value *, 4> Args;
+    SmallVector<llvm::Type *, 4> ArgTypes;
----------------
why not just array with a {} initializer? 


http://reviews.llvm.org/D11109







More information about the cfe-commits mailing list