r219076 - MS ABI: Make comment more accurate

David Majnemer david.majnemer at gmail.com
Sat Oct 4 23:44:56 PDT 2014


Author: majnemer
Date: Sun Oct  5 01:44:55 2014
New Revision: 219076

URL: http://llvm.org/viewvc/llvm-project?rev=219076&view=rev
Log:
MS ABI: Make comment more accurate

The ABI for function-scope statics changed in VS "14", not MSVC 2013.

Modified:
    cfe/trunk/lib/AST/MicrosoftMangle.cpp

Modified: cfe/trunk/lib/AST/MicrosoftMangle.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/MicrosoftMangle.cpp?rev=219076&r1=219075&r2=219076&view=diff
==============================================================================
--- cfe/trunk/lib/AST/MicrosoftMangle.cpp (original)
+++ cfe/trunk/lib/AST/MicrosoftMangle.cpp Sun Oct  5 01:44:55 2014
@@ -2348,7 +2348,7 @@ void MicrosoftMangleContextImpl::mangleR
 
 void MicrosoftMangleContextImpl::mangleStaticGuardVariable(const VarDecl *VD,
                                                            raw_ostream &Out) {
-  // TODO: This is not correct, especially with respect to MSVC2013.  MSVC2013
+  // TODO: This is not correct, especially with respect to VS "14".  VS "14"
   // utilizes thread local variables to implement thread safe, re-entrant
   // initialization for statics.  They no longer differentiate between an
   // externally visible and non-externally visible static with respect to





More information about the cfe-commits mailing list