[clang] b92fb33 - [CodeGen] Remove unused member variable NextBlockInfo

Kazu Hirata via cfe-commits cfe-commits at lists.llvm.org
Thu May 25 23:41:41 PDT 2023


Author: Kazu Hirata
Date: 2023-05-25T23:41:34-07:00
New Revision: b92fb33409bb46ca3a1a8ead5cbb958b7f130442

URL: https://github.com/llvm/llvm-project/commit/b92fb33409bb46ca3a1a8ead5cbb958b7f130442
DIFF: https://github.com/llvm/llvm-project/commit/b92fb33409bb46ca3a1a8ead5cbb958b7f130442.diff

LOG: [CodeGen] Remove unused member variable NextBlockInfo

The last use was removed by:

  commit c9a52de0026093327daedda7ea2eead8b64657b4
  Author: Akira Hatanaka <ahatanaka at apple.com>
  Date:   Wed Jun 3 16:41:50 2020 -0700

Added: 
    

Modified: 
    clang/lib/CodeGen/CGBlocks.h

Removed: 
    


################################################################################
diff  --git a/clang/lib/CodeGen/CGBlocks.h b/clang/lib/CodeGen/CGBlocks.h
index e8857d98894f..4ef1ae9f3365 100644
--- a/clang/lib/CodeGen/CGBlocks.h
+++ b/clang/lib/CodeGen/CGBlocks.h
@@ -287,12 +287,6 @@ class CGBlockInfo {
   // This could be zero if no forced alignment is required.
   CharUnits BlockHeaderForcedGapSize;
 
-  /// The next block in the block-info chain.  Invalid if this block
-  /// info is not part of the CGF's block-info chain, which is true
-  /// if it corresponds to a global block or a block whose expression
-  /// has been encountered.
-  CGBlockInfo *NextBlockInfo;
-
   void buildCaptureMap() {
     for (auto &C : SortedCaptures)
       Captures[C.Cap->getVariable()] = &C;


        


More information about the cfe-commits mailing list