]> granicus.if.org Git - clang/commit
Enable enumeration types with a fixed underlying type, e.g.,
authorDouglas Gregor <dgregor@apple.com>
Tue, 22 Feb 2011 20:32:04 +0000 (20:32 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 22 Feb 2011 20:32:04 +0000 (20:32 +0000)
commit86f208c1a112c3e8984e63daec15ccf0a1a84329
tree497fa5396dcd38f84883fb0d1af6cbe9308f0bb5
parentdc856aff4428380baa9afb5577ea04f8fb6beb13
Enable enumeration types with a fixed underlying type, e.g.,

  enum X : long { Value = 0x100000000 };

when in Microsoft-extension mode (-fms-extensions). This (now C++0x)
feature has been supported since Microsoft Visual Studio .NET 2003.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126243 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticParseKinds.td
lib/Parse/ParseDecl.cpp
test/Sema/MicrosoftExtensions.c
test/SemaCXX/MicrosoftExtensions.cpp