llvm-project/clang/test
David Majnemer dc9be216c0 [MSVC Compat] Try to treat an implicit, fixed enum as an unfixed enum
consider the following:
enum E *p;
enum E { e };

The above snippet is not ANSI C because 'enum E' has not bee defined
when we are processing the declaration of 'p'; however, it is a popular
extension to make the above work.  This would fail using the Microsoft
enum semantics because the definition of 'E' would implicitly have a
fixed underlying type of 'int' which would trigger diagnostic messages
about a mismatch between the declaration and the definition.

Instead, treat fixed underlying types as not fixed for the purposes of
the diagnostic.

llvm-svn: 249674
2015-10-08 10:04:46 +00:00
..
ARCMT Don't inherit availability information when implementing a protocol requirement. 2015-09-30 21:27:42 +00:00
ASTMerge Update tests touched by r249656 2015-10-08 06:31:22 +00:00
Analysis Update tests touched by r249656 2015-10-08 06:31:22 +00:00
CXX Update tests touched by r249656 2015-10-08 06:31:22 +00:00
CodeCompletion [Tests] Modified Lit Tests to be C++11 compatibile 2015-08-27 18:49:15 +00:00
CodeGen [Sema] Tweak incomplete enum types on MSVC ABI targets 2015-10-08 07:45:35 +00:00
CodeGenCUDA [CUDA] __global__ functions should always be visible externally. 2015-09-23 17:44:53 +00:00
CodeGenCXX Update tests touched by r249656 2015-10-08 06:31:22 +00:00
CodeGenObjC Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
CodeGenObjCXX Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
CodeGenOpenCL [OpenCL] Fix casting a true boolean to an integer vector. 2015-10-05 11:27:41 +00:00
Coverage Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
CoverageMapping InstrProf: Fix a misuse of the FunctionDecl API when generating coverage 2015-07-28 00:41:51 +00:00
Driver Unbreak 'debug-options' test when builder is Darwin 2015-10-08 05:02:24 +00:00
FixIt Update tests touched by r249656 2015-10-08 06:31:22 +00:00
Format Disable style-on-command-line test on Windows 2015-06-09 17:47:59 +00:00
Frontend Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
Headers Make ms-intrin.cpp test require the x86 target. 2015-09-23 00:24:34 +00:00
Index Make clang_Cursor_getMangling not mangle if the declaration isn't mangled 2015-10-08 00:01:20 +00:00
Integration
Layout Fix the layout of bitfields in ms_struct unions: their 2015-08-19 22:42:36 +00:00
Lexer When pretty-printing a C++11 literal operator, don't insert whitespace between 2015-10-08 00:17:59 +00:00
Misc Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
Modules Update tests touched by r249656 2015-10-08 06:31:22 +00:00
OpenMP [OPENMP 4.1] Codegen for array sections/subscripts in 'reduction' clause. 2015-10-08 09:10:53 +00:00
PCH Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
Parser [Sema] Tweak incomplete enum types on MSVC ABI targets 2015-10-08 07:45:35 +00:00
Preprocessor Implement ACLE 2.0 macros of chapters 6.6 and 6.7 for [ARM] and [Aarch64] targets. 2015-10-02 14:56:37 +00:00
Profile Tweak a couple of -fprofile tests in clang/test to accept backslash in path. 2015-07-10 13:11:08 +00:00
Rewriter Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
Sema [MSVC Compat] Try to treat an implicit, fixed enum as an unfixed enum 2015-10-08 10:04:46 +00:00
SemaCUDA [CUDA] Allow parsing of host and device code simultaneously. 2015-09-22 17:23:22 +00:00
SemaCXX Update a few more tests in response to the MS ABI enum semantics 2015-10-08 08:28:09 +00:00
SemaObjC [MSVC Compat] Try to treat an implicit, fixed enum as an unfixed enum 2015-10-08 10:04:46 +00:00
SemaObjCXX Perform Objective-C lifetime adjustments before comparing deduced lambda result types. 2015-10-01 20:20:47 +00:00
SemaOpenCL [OpenCL 2.0] Enable program scope variables, Section 6.5.1. 2015-09-30 14:08:20 +00:00
SemaTemplate [MSVC Compat] Try to treat an implicit, fixed enum as an unfixed enum 2015-10-08 10:04:46 +00:00
TableGen
Tooling Change the expectation for test/Tooling/ms-asm-no-target.cpp since 2015-07-08 01:39:38 +00:00
Unit
VFS Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
.clang-format
CMakeLists.txt [CMake] r247548 introduced llvm-readobj. 2015-09-14 12:42:52 +00:00
Makefile
TestRunner.sh
cxx-sections.data
lit.cfg Silence warning about not being able to find clang-interpreter 2015-10-07 11:14:25 +00:00
lit.site.cfg.in
make_test_dirs.pl