llvm-project/clang/test
Douglas Gregor 594b8c934f Modules: Teach the preprocessor to recognize 'import' only after an '@'.
The preprocessor currently recognizes module declarations to load a
module based on seeing the 'import' keyword followed by an
identifier. This sequence is fairly unlikely in C (one would need a
type named 'import'), but is more common in Objective-C (where a
variable named 'import' can cause problems). Since import declarations
currently require a leading '@', recognize that in the preprocessor as
well. Fixes <rdar://problem/15084587>.

llvm-svn: 194225
2013-11-07 22:55:02 +00:00
..
ARCMT ObjectiveC migrator. Please annotation of properties with 2013-11-05 22:28:30 +00:00
ASTMerge Changes so that a few tests do not fail when running under guarded malloc. 2013-07-12 22:30:03 +00:00
Analysis Fix test that wasn't testing anything 2013-11-05 12:45:37 +00:00
CXX Tests for CWG issue 165-170. 2013-11-07 19:26:14 +00:00
CodeCompletion Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
CodeGen Implement AArch64 Neon instruction set Perm. 2013-11-06 03:35:53 +00:00
CodeGenCUDA CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
CodeGenCXX Fix the -cxx-abi microsoft -mconstructor-aliases combination. 2013-11-06 19:18:55 +00:00
CodeGenObjC ObjectiveC IRGen. Replace _objc_empty_vtable pointer in Objective-C 2013-10-24 17:40:28 +00:00
CodeGenObjCXX Fix ObjC @encode for C++ classes w/virtual bases. 2013-09-18 01:59:16 +00:00
CodeGenOpenCL Certain multi-platform languages, such as OpenCL, have the concept of 2013-09-13 12:04:22 +00:00
Coverage Skip this test when using lit integrated shell 2013-10-25 22:30:07 +00:00
Driver With this patch -Wwrite-strings is still implemented with the terrible 2013-11-05 21:43:54 +00:00
FixIt Fix test to actually check the FixIt-applied code 2013-11-03 01:50:38 +00:00
Format Allow _clang-format as alternative to .clang-format config filename 2013-09-10 15:41:12 +00:00
Frontend Fix test that was not being run 2013-11-05 12:45:40 +00:00
Headers Define [U]LLONG_{MIN,MAX} for C++11, add tests. 2013-10-27 19:00:49 +00:00
Index XFAIL the test for non-x86 targets for which this message cannot be generated. 2013-11-07 18:05:57 +00:00
Layout Microsoft adds weird padding before virtual bases if the last field was a bitfield 2013-11-06 00:54:59 +00:00
Lexer Relax header guard mismatch warning with edit distance heuristic. 2013-10-12 23:17:37 +00:00
Misc Fix typo in test's REQUIRES line 2013-10-27 19:03:12 +00:00
Modules Modules: Teach the preprocessor to recognize 'import' only after an '@'. 2013-11-07 22:55:02 +00:00
OpenMP Disable test fully with REQUIRES 2013-11-05 13:27:19 +00:00
PCH Default to use libc++ on OS X 10.9+ and iOS 7+. 2013-11-02 23:19:53 +00:00
Parser Factor out custom parsing for iboutletcollection and vec_type_hint attributes 2013-10-31 01:56:18 +00:00
Preprocessor Make test run reliably 2013-11-05 12:45:43 +00:00
Rewriter ObjectiveC modern rewriter. Rewrite typedefs 2013-10-07 19:54:22 +00:00
Sema Fixed bug in return type of __builtin_va_start(). 2013-11-07 08:14:26 +00:00
SemaCUDA
SemaCXX PR17800: When performing pack expansion, we must always rebuild the AST nodes 2013-11-07 20:07:17 +00:00
SemaObjC ObjectiveC. Method implementations should only check for 2013-11-05 00:28:21 +00:00
SemaObjCXX Re-instate contextual conversion to Objective-C pointers in message sends. 2013-11-07 22:34:54 +00:00
SemaOpenCL Do not allow functions or kernels called 'main' in OpenCL. 2013-11-05 12:30:39 +00:00
SemaTemplate Sema: Correctly build pointer-to-member arguments from a template argument with an IndirectFieldDecl 2013-10-26 05:02:13 +00:00
TableGen
Tooling Fixed replacements for files with relative paths are not applied. 2013-10-01 14:59:00 +00:00
Unit [tests] Update to use lit_config and lit package, as appropriate. 2013-08-09 14:43:04 +00:00
CMakeLists.txt Re-add clang-format tests to clang/test. 2013-03-25 09:14:25 +00:00
Makefile Make the information about disabled ARCMT/Rewriter/StaticAnalyzer available 2013-08-27 19:27:35 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg [build] Update runtime library and tests to work with relocatable SDKs on OS X 10.9. 2013-11-06 21:44:54 +00:00
lit.site.cfg.in Add "native" to config.available_features, to make it easier to disable non-x-compile-safe tests 2013-09-13 11:02:31 +00:00
make_test_dirs.pl