]> granicus.if.org Git - clang/commitdiff
MS ABI: Make comment more accurate
authorDavid Majnemer <david.majnemer@gmail.com>
Sun, 5 Oct 2014 06:44:55 +0000 (06:44 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Sun, 5 Oct 2014 06:44:55 +0000 (06:44 +0000)
The ABI for function-scope statics changed in VS "14", not MSVC 2013.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219076 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/MicrosoftMangle.cpp

index 780430e8fefc60d76e1257becdb82175db2684ae..e98a2226b7624ee222dd1b8030fb31100a5a7a9a 100644 (file)
@@ -2348,7 +2348,7 @@ void MicrosoftMangleContextImpl::mangleReferenceTemporary(const VarDecl *VD,
 
 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