]> granicus.if.org Git - clang/commit
Microsoft enum extensions. 2 things will change on -fms-extensions:
authorFrancois Pichet <pichet2000@gmail.com>
Mon, 18 Oct 2010 15:01:13 +0000 (15:01 +0000)
committerFrancois Pichet <pichet2000@gmail.com>
Mon, 18 Oct 2010 15:01:13 +0000 (15:01 +0000)
commit842e7a22c6a0fbf0ccdb4bb9308d92ca9e9621f6
tree6903b9f80c9bb472e91b2b8f19a9737ff7bb0332
parent6f2d1b111ed6d3c686303746e3949e3cbc9f3870
Microsoft enum extensions. 2 things will change on -fms-extensions:
1. enum underlying type is int by default.
2. Error "enumerator value is not representable in the underlying type"is a ExtWarning

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