llvm-project/clang/test
David Majnemer 42350dfcc8 Sema: Do not allow overloading between methods based on restrict
If the sole distinction between two declarations is that one has a
__restrict qualifier then we should not consider it to be an overload.

Instead, we will consider it as an incompatible redeclaration which is
similar to how MSVC, ICC and GCC would handle it.

This fixes PR17786.

N.B. We must not mangle in __restrict into method qualifiers becase we
don't allow overloading between such declarations anymore.  To do
otherwise would be a violation of the Itanium ABI.

llvm-svn: 193964
2013-11-03 23:51:28 +00:00
..
ARCMT ObjectiveC migrator. When inferring readwrite property, 2013-11-01 00:26:48 +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 [analyzer] Don't crash when a path goes through a 'delete' destructor call. 2013-10-31 18:41:15 +00:00
CXX PR17731: When determining whether a tag and a non-tag were declared in the same 2013-10-30 01:02:04 +00:00
CodeCompletion Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
CodeGen OS X 10.9+ and iOS 7+ support load/store of big atomic objects. 2013-11-02 23:27:49 +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 Sema: Do not allow overloading between methods based on restrict 2013-11-03 23:51:28 +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 SanitizerArgs: add ability to filter/diagnose unsupported sanitizers. 2013-11-01 18:16:25 +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 "existant" typos 2013-10-29 02:34:44 +00:00
Headers Define [U]LLONG_{MIN,MAX} for C++11, add tests. 2013-10-27 19:00:49 +00:00
Index Fix triple / REQUIRES in test from r193685 2013-10-30 14:38:32 +00:00
Layout Improves compatibility with cl.exe when laying out array fields 2013-11-01 23:59:41 +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 Allow a new syntax in a module requires-declaration: 2013-10-28 22:18:19 +00:00
OpenMP [OpenMP] Added parsing and semantic analysis for firstprivate clause 2013-10-01 05:32:34 +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 ARM: Add -m[no-]crc to dis/enable CRC subtargetfeature from clang 2013-10-29 09:47:51 +00:00
Rewriter ObjectiveC modern rewriter. Rewrite typedefs 2013-10-07 19:54:22 +00:00
Sema Sema: Cleanup and simplify anonymous union diagnostics 2013-11-02 10:38:05 +00:00
SemaCUDA
SemaCXX Sema: Do not allow overloading between methods based on restrict 2013-11-03 23:51:28 +00:00
SemaObjC ObjectiveC. Define a new cc1 flag 2013-11-01 21:58:17 +00:00
SemaObjCXX ObjectiveC++: support for passing C++11 style initialized temporaries to 2013-10-16 17:51:43 +00:00
SemaOpenCL Removing the endian attribute and updating associated test cases. This functionality was never completely implemented, and this is an improvement over silently eating the attribute. 2013-09-09 12:57:20 +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 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
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