[llvm] r367336 - [NFC] remove obsolete comment

JF Bastien via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 30 10:21:30 PDT 2019


Author: jfb
Date: Tue Jul 30 10:21:30 2019
New Revision: 367336

URL: http://llvm.org/viewvc/llvm-project?rev=367336&view=rev
Log:
[NFC] remove obsolete comment

LLVM_ALIGNAS was removed from this class in http://llvm.org/r338099 but the comment was left there. The class is still sommewhat relevant despite the comment, let's keep it there with its one use.

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

Modified: llvm/trunk/include/llvm/Support/TrailingObjects.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/TrailingObjects.h?rev=367336&r1=367335&r2=367336&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/TrailingObjects.h (original)
+++ llvm/trunk/include/llvm/Support/TrailingObjects.h Tue Jul 30 10:21:30 2019
@@ -87,11 +87,6 @@ protected:
   template <typename T> struct OverloadToken {};
 };
 
-/// This helper template works-around MSVC 2013's lack of useful
-/// alignas() support. The argument to alignas(), in MSVC, is
-/// required to be a literal integer. But, you *can* use template
-/// specialization to select between a bunch of different alignas()
-/// expressions...
 template <int Align>
 class TrailingObjectsAligner : public TrailingObjectsBase {};
 template <>




More information about the llvm-commits mailing list