r286201 - Make a const variable static. NFC.

George Burgess IV via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 7 19:30:50 PST 2016


Author: gbiv
Date: Mon Nov  7 21:30:49 2016
New Revision: 286201

URL: http://llvm.org/viewvc/llvm-project?rev=286201&view=rev
Log:
Make a const variable static. NFC.

Modified:
    cfe/trunk/lib/CodeGen/CGBlocks.cpp

Modified: cfe/trunk/lib/CodeGen/CGBlocks.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGBlocks.cpp?rev=286201&r1=286200&r2=286201&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGBlocks.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGBlocks.cpp Mon Nov  7 21:30:49 2016
@@ -189,7 +189,7 @@ static llvm::Constant *buildBlockDescrip
  */
 
 /// The number of fields in a block header.
-const unsigned BlockHeaderSize = 5;
+const static unsigned BlockHeaderSize = 5;
 
 namespace {
   /// A chunk of data that we actually have to capture in the block.




More information about the cfe-commits mailing list