[PATCH] D46784: [NFC] Remove inaccurate comment

JF Bastien via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 12 12:43:28 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL332175: [NFC] Remove inaccurate comment (authored by jfb, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D46784

Files:
  llvm/trunk/lib/Support/ManagedStatic.cpp


Index: llvm/trunk/lib/Support/ManagedStatic.cpp
===================================================================
--- llvm/trunk/lib/Support/ManagedStatic.cpp
+++ llvm/trunk/lib/Support/ManagedStatic.cpp
@@ -28,9 +28,6 @@
 }
 
 static sys::Mutex* getManagedStaticMutex() {
-  // We need to use a function local static here, since this can get called
-  // during a static constructor and we need to guarantee that it's initialized
-  // correctly.
   llvm::call_once(mutex_init_flag, initializeMutex);
   return ManagedStaticMutex;
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46784.146482.patch
Type: text/x-patch
Size: 537 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180512/e95ebf8e/attachment.bin>


More information about the llvm-commits mailing list