llvm-project/clang/test
Sean Callanan 041cceb019 Handle injected class names in the ASTImporter.
Every class as parsed by Clang has a forward declaration of itself as a member:

class A {
  class A;
  ...
}

but when the parser generates this it ensures that the RecordTypes for the two 
are the same.  This makes (among other things) inheritance work.  This patch
fixes a bug where the ASTImporter generated two separate RecordTypes when
importing the class and the contained forward declaration, and adds a test case.

Thanks to Doug Gregor for advice on this.

llvm-svn: 269551
2016-05-14 05:43:57 +00:00
..
ARCMT Define weak and __weak to mean ARC-style weak references, even in MRC. 2015-10-22 18:38:17 +00:00
ASTMerge Handle injected class names in the ASTImporter. 2016-05-14 05:43:57 +00:00
Analysis [analyzer] Fix crash in ObjCGenericsChecker 2016-05-11 20:28:41 +00:00
CXX Add support for derived class special members hiding functions brought in from 2016-05-13 06:47:56 +00:00
CodeCompletion Fix CodeCompletion & TypoCorrection when combining a PCH with Modules 2016-05-04 00:53:13 +00:00
CodeGen [CodeGen] Clang does not choose aapcs-vfp calling convention for ARM bare metal target with hard float (EABIHF) 2016-05-13 14:45:57 +00:00
CodeGenCUDA [CUDA] Fix flush-denormals.cu test so that it checks what it intends to CHECK. 2016-05-10 00:34:50 +00:00
CodeGenCXX [MS ABI] Delegating constructors should not assume they are most derived 2016-05-13 20:05:09 +00:00
CodeGenObjC [Clang] Remove unwanted --check-prefix=CHECK from unit tests. NFC. 2016-04-20 01:02:18 +00:00
CodeGenObjCXX [ObjC][CodeGen] Remove an assert that is no longer correct. 2016-05-13 01:21:23 +00:00
CodeGenOpenCL Revert "[OpenCL] Add supported OpenCL extensions to target info." 2016-05-13 17:16:26 +00:00
Coverage Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
CoverageMapping [Coverage] Fix an issue where a coverage region might not be created for a macro containing a loop statement. 2016-05-04 15:38:26 +00:00
Driver Get default -fms-compatibility-version from cl.exe's version 2016-05-13 23:20:11 +00:00
FixIt Add the Pure attribute to C99 builtin functions from ctype.h. This is a corrected version of r266199 with test case fixes. 2016-05-04 21:08:13 +00:00
Format Fix clang-format test. I believe that the new behavior is better. 2015-11-23 08:50:52 +00:00
Frontend Embed bitcode in object file (clang cc1 part) 2016-05-11 16:26:03 +00:00
Headers [modules] Don't expose *intrin.h headers that cannot be included standalone as 2016-04-16 00:46:26 +00:00
Index [libclang] Expose the ElaboratedType 2016-05-03 06:58:29 +00:00
Integration
Layout [MS] Fix for bug 25013 - #pragma vtordisp is unknown inside functions, by Denis Zobnin. 2015-11-20 07:02:57 +00:00
Lexer Revert "[OpenCL] Add supported OpenCL extensions to target info." 2016-05-13 17:16:26 +00:00
Misc Get default -fms-compatibility-version from cl.exe's version 2016-05-13 23:20:11 +00:00
Modules [ModuleMap][CrashReproducer] Collect headers from inner frameworks 2016-05-13 22:21:51 +00:00
OpenMP [OPENMP 4.5] Initial codegen for 'priority' clause in task-based 2016-05-10 12:21:02 +00:00
PCH Revert "[OpenCL] Add supported OpenCL extensions to target info." 2016-05-13 17:16:26 +00:00
Parser Revert "[OpenCL] Add supported OpenCL extensions to target info." 2016-05-13 17:16:26 +00:00
Preprocessor ARM-MachO: stop claiming to be EABI 2016-05-13 21:26:45 +00:00
Profile [profile] Fix another use of the driver. 2016-04-23 02:13:48 +00:00
Rewriter Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
Sema [MSVC] Implementation of __unaligned as a proper type qualifier 2016-05-11 18:38:21 +00:00
SemaCUDA Add support for derived class special members hiding functions brought in from 2016-05-13 06:47:56 +00:00
SemaCXX When typo-correcting a using-declaration, actually correct the name of the 2016-05-14 01:58:49 +00:00
SemaObjC ObjC kindof: set the type of a conditional expression when involving kindof. 2016-05-06 19:35:02 +00:00
SemaObjCXX [ObjC] Enter a new evaluation context before calling 2016-05-04 18:07:20 +00:00
SemaOpenCL Revert "[OpenCL] Add supported OpenCL extensions to target info." 2016-05-13 17:16:26 +00:00
SemaTemplate Warn if function or variable cannot be implicitly instantiated 2016-04-19 06:19:52 +00:00
TableGen
Tooling Back out the test case for r266973 for now. 2016-04-21 10:46:14 +00:00
Unit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 06:54:46 +00:00
VFS [VFS] Fix status() of opened redirected file 2015-12-10 23:41:39 +00:00
.clang-format
CMakeLists.txt Moving clang-test-depends into the Clang tests folder and moving vtables_blacklist into the Misc folder; NFC, this simply cleans up the generated solution so that these targets don't live in the root folder of the IDE. 2016-04-12 15:09:17 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Revert r260266 (and r260276), "clang-cl: Enable plugins on Windows" 2016-02-11 16:43:08 +00:00
lit.site.cfg.in Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 06:54:46 +00:00
make_test_dirs.pl