[llvm] r288417 - Improve documentation on MSVC workaround for AlignedCharArray (NFC)

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 1 12:54:30 PST 2016


Author: mehdi_amini
Date: Thu Dec  1 14:54:29 2016
New Revision: 288417

URL: http://llvm.org/viewvc/llvm-project?rev=288417&view=rev
Log:
Improve documentation on MSVC workaround for AlignedCharArray (NFC)

The comment only mentioned "old version of MSVC".

Differential Revision: https://reviews.llvm.org/D27312

Modified:
    llvm/trunk/include/llvm/Support/AlignOf.h

Modified: llvm/trunk/include/llvm/Support/AlignOf.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/AlignOf.h?rev=288417&r1=288416&r2=288417&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/AlignOf.h (original)
+++ llvm/trunk/include/llvm/Support/AlignOf.h Thu Dec  1 14:54:29 2016
@@ -24,7 +24,7 @@ namespace llvm {
 ///
 /// This template is used to explicitly build up a collection of aligned
 /// character array types. We have to build these up using a macro and explicit
-/// specialization to cope with old versions of MSVC where only an
+/// specialization to cope with MSVC (at least till 2015) where only an
 /// integer literal can be used to specify an alignment constraint. Once built
 /// up here, we can then begin to indirect between these using normal C++
 /// template parameters.




More information about the llvm-commits mailing list