From: David Majnemer Date: Sun, 5 Oct 2014 06:44:55 +0000 (+0000) Subject: MS ABI: Make comment more accurate X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b0373698cbe66ce64a1a9f16f571c19880412b68;p=clang MS ABI: Make comment more accurate 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 --- diff --git a/lib/AST/MicrosoftMangle.cpp b/lib/AST/MicrosoftMangle.cpp index 780430e8fe..e98a2226b7 100644 --- a/lib/AST/MicrosoftMangle.cpp +++ b/lib/AST/MicrosoftMangle.cpp @@ -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