llvm-project/clang/test
Rafael Espindola 9463dce9bf Don't warn for undefined but used decls that are external because of a typedef.
This fixes pr14736. It is fairly ugly, but I don't think we can do much better
as we have to wait at least until the end of the typedef to know if the
function will have external linkage or not.

llvm-svn: 171240
2012-12-29 23:43:00 +00:00
..
ARCMT Change VerifyDiagnosticConsumer so that it *must* contain at least one "expected-*" directive. As a result, for test-cases that are not expected to generate any diagnostics, an additional directive "expected-no-diagnostics" has been implemented which can then be included in such test-cases. This new directive may not be used in conjunction with any other "expected-*" directive. 2012-10-19 12:49:32 +00:00
ASTMerge Fix code that attempted to produce a diagnostic with one DiagnosticEngine, then 2012-12-20 02:22:15 +00:00
Analysis Fix typo: objc_no_direct_instance_variable_assignmemt => objc_no_direct_instance_variable_assignment. 2012-12-22 00:34:48 +00:00
CXX Improve diagnostic wording for when an implicitly-deleted special member 2012-12-28 12:23:24 +00:00
CodeCompletion PR14381: Never skip constexpr function bodies when code-completing. We may need 2012-11-19 21:13:18 +00:00
CodeGen Add intel_ocl_bicc calling convention as a function attribute to clang. The calling convention is already implemented in LLVM. 2012-12-25 08:53:55 +00:00
CodeGenCUDA CUDA: give static storage class to __shared__ and __constant__ 2012-08-28 20:37:50 +00:00
CodeGenCXX Add 171048 back but invalidate the cache of all redeclarations when setting 2012-12-25 07:31:49 +00:00
CodeGenObjC Change this to an IR test instead of an assembly test (as per comment in r171134). 2012-12-28 01:16:31 +00:00
CodeGenObjCXX Reapply r170344, this time without forgetting to commit the header changes. 2012-12-17 18:54:24 +00:00
CodeGenOpenCL Re-commit r170428 changes with Linux style file endings. 2012-12-18 14:38:23 +00:00
Coverage Revert r166541, "clang/test: Add appropriate requirements as REQUIRES, corresponding to r166532." 2012-10-24 03:59:09 +00:00
Driver Produce an actual error before attempting to attach notes to it when bailing out 2012-12-25 21:56:27 +00:00
FixIt Use some heuristics so that when a fixit removes a source range, we try 2012-12-20 21:05:53 +00:00
Frontend A number of test cases assume that an "int" parameter or return value 2012-10-24 12:22:56 +00:00
Headers [clang tests] Added require ppc64-registered-target to Headers/altivec-header.c to ensure it only runs on ppc64. 2012-10-31 20:20:04 +00:00
Index test/Index/preamble_macro_template.cpp: Tweak for win32. 2012-12-24 01:23:48 +00:00
Lexer Add __has_feature(memory_sanitizer). 2012-12-20 12:03:13 +00:00
Misc Use a safe default width for template-diff'ing integral arguments, in 2012-12-21 23:03:27 +00:00
Modules clang/test: Suppress two tests on win32 for now, since, not sure, in r169829 to r169831. 2012-12-12 00:51:38 +00:00
PCH Implement AST dumper for Decls. 2012-12-20 02:09:13 +00:00
Parser Re-commit r170428 changes with Linux style file endings. 2012-12-18 14:38:23 +00:00
Preprocessor [preprocessor] When "merging" macro argument tokens into one SLocEntry chunk, 2012-12-19 23:55:44 +00:00
Rewriter -arch is a darwin-specific driver feature, use a triple instead in rewriter test. 2012-10-02 09:42:36 +00:00
Sema PR14729: Fix typo in CheckICE for BinaryConditionalOperators. 2012-12-28 12:53:55 +00:00
SemaCUDA
SemaCXX Don't warn for undefined but used decls that are external because of a typedef. 2012-12-29 23:43:00 +00:00
SemaObjC Simplify RUN lines. No functionality change. 2012-12-24 21:45:14 +00:00
SemaObjCXX Fix crash-on-invalid. <rdar://problem/12765391>. 2012-11-29 03:13:49 +00:00
SemaOpenCL Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
SemaTemplate PR14695: Fix assert from bad cast<>. Not every namespace is a NamespaceDecl; it might instead be a TranslationUnitDecl. 2012-12-22 02:46:14 +00:00
Tooling Implement AST dumper for Decls. 2012-12-20 02:09:13 +00:00
Unit
CMakeLists.txt Removed standalone clang-ast-dump tool. 2012-07-26 01:44:18 +00:00
Makefile
TestRunner.sh
cxx-sections.data
lit.cfg clang/test/Driver: Introduce the feature "clang-driver", set if gcc driver is not used. 2012-12-11 07:06:09 +00:00
lit.site.cfg.in
make_test_dirs.pl