llvm-project/clang/test
Richard Smith 405e2dbf37 Implement C++ [basic.link]p8.
If a function or variable has a type with no linkage (and is not extern "C"),
any use of it requires a definition within the same translation unit; the idea
is that it is not possible to define the entity elsewhere, so any such use is
necessarily an error.

There is an exception, though: some types formally have no linkage but
nonetheless can be referenced from other translation units (for example, this
happens to anonymous structures defined within inline functions). For entities
with those types, we suppress the diagnostic except under -pedantic.

llvm-svn: 313729
2017-09-20 07:22:00 +00:00
..
ARCMT clang/test/ARCMT/remap-applying.c: Use %/s on the command line of echo(1). 2017-04-28 05:02:52 +00:00
ASTMerge Revert r299355 "[ASTImporter] Fix for importing unnamed structs" 2017-04-03 21:06:45 +00:00
Analysis Implement C++ [basic.link]p8. 2017-09-20 07:22:00 +00:00
CXX Implement C++ [basic.link]p8. 2017-09-20 07:22:00 +00:00
CodeCompletion Fixed a crash in code completion. 2017-09-08 13:36:38 +00:00
CodeGen Fix 32-bit buildbots by removing tests that are dependent on pointer-size comparisons. 2017-09-19 21:43:01 +00:00
CodeGenCUDA CodeGenModule: Always output wchar_size, check LLVM assumptions. 2017-05-20 01:29:55 +00:00
CodeGenCXX Implement C++ [basic.link]p8. 2017-09-20 07:22:00 +00:00
CodeGenCoroutines [coroutines] Support coroutine-handle returning await-suspend (i.e symmetric control transfer) 2017-08-25 04:46:54 +00:00
CodeGenObjC Revert "Add support for attribute 'noescape'." 2017-09-20 06:55:43 +00:00
CodeGenObjCXX Fix off-by-one error in block mangling. 2017-09-07 05:41:24 +00:00
CodeGenOpenCL Add more tests for OpenCL atomic builtin functions 2017-09-13 18:56:25 +00:00
Coverage [Analyzer] Add support for displaying cross-file diagnostic paths in HTML output 2017-08-03 18:12:22 +00:00
CoverageMapping [Coverage] Remove deferred region for trailing return, fixes PR34611 2017-09-19 00:29:46 +00:00
Driver [MSan] Add flag to disable use-after-dtor. 2017-09-14 23:14:37 +00:00
FixIt [c++2a] Implement P0409R2 - Allow lambda capture [=,this] (by hamzasood) 2017-08-19 03:43:07 +00:00
Format [clang] Get rid of "%T" expansions 2017-08-15 19:47:06 +00:00
Frontend Fix ClangDiagnosticHandler::is*RemarkEnabled members 2017-09-19 17:59:40 +00:00
Headers This adds the _Float16 preprocessor macro definitions. 2017-09-13 15:23:19 +00:00
Import This adds the argument --dump-ir to clang-import-test, which allows 2017-08-07 22:27:30 +00:00
Index Fix recording preamble's conditional stack in skipped PP branches. 2017-09-12 08:35:57 +00:00
Integration Fix the test fix from r312181 2017-08-30 23:26:38 +00:00
Layout Print nested name specifiers for typedefs and type aliases 2017-03-10 15:04:58 +00:00
Lexer Recommit "Add _Float16 as a C/C++ source language type" 2017-09-08 15:15:00 +00:00
Misc Revert "Add support for attribute 'noescape'." 2017-09-20 06:55:43 +00:00
Modules [Module map] Introduce a private module re-export directive. 2017-09-14 23:38:44 +00:00
OpenMP [OpenMP] fix seg-faults printing diagnostics with invalid ordered(n) values 2017-09-19 21:04:23 +00:00
PCH Implement C++ [basic.link]p8. 2017-09-20 07:22:00 +00:00
Parser [c++2a] P0683R1: Permit default member initializers for bit-fields. 2017-08-28 00:28:14 +00:00
Preprocessor This adds the _Float16 preprocessor macro definitions. 2017-09-13 15:23:19 +00:00
Profile [Profile] Do not assign counters to functions without bodies 2017-06-30 21:02:14 +00:00
Refactor Fix Refactor/tool-test-support.c test on Windows by avoiding 2017-09-14 15:10:39 +00:00
Rewriter [clang] Remove unit test which uses reverse-iterate flag 2017-08-24 22:40:32 +00:00
Sema Revert "Add support for attribute 'noescape'." 2017-09-20 06:55:43 +00:00
SemaCUDA [CUDA] When compilation fails, print the compilation mode. 2017-09-07 18:37:16 +00:00
SemaCXX Implement C++ [basic.link]p8. 2017-09-20 07:22:00 +00:00
SemaObjC [Sema][ObjC] Warn about mismatches in attributes between overriding and 2017-09-20 05:39:18 +00:00
SemaObjCXX Revert "Add support for attribute 'noescape'." 2017-09-20 06:55:43 +00:00
SemaOpenCL [OpenCL] Handle taking an address of block captures. 2017-09-07 17:00:33 +00:00
SemaTemplate PR10147: When substituting a template template argument, substitute in the most 2017-08-29 22:14:43 +00:00
TableGen
Tooling [clang-diff] Treat CXXCtorInitializer as a node 2017-08-27 22:52:20 +00:00
Unit Resubmit "[lit] Force site configs to run before source-tree configs" 2017-09-15 22:10:46 +00:00
VFS
clang-rename [refactor] add clang-refactor tool with initial testing support and 2017-09-14 10:06:52 +00:00
.clang-format
CMakeLists.txt [refactor] add clang-refactor tool with initial testing support and 2017-09-14 10:06:52 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg [lit] Update clang and lld to use new config helpers. 2017-09-18 22:26:48 +00:00
lit.site.cfg.in [lit] Update clang and lld to use new config helpers. 2017-09-18 22:26:48 +00:00
make_test_dirs.pl