llvm-project/clang/test
George Burgess IV ce6284b179 Change how we handle diagnose_if attributes.
This patch changes how we handle argument-dependent `diagnose_if`
attributes. In particular, we now check them in the same place that we
check for things like passing NULL to Nonnull args, etc. This is
basically better in every way than how we were handling them before. :)

This fixes PR31638, PR31639, and PR31640.

Differential Revision: https://reviews.llvm.org/D28889

llvm-svn: 293360
2017-01-28 02:19:40 +00:00
..
ARCMT [test] Port clang tests to canonicalized booleans 2017-01-25 13:11:45 +00:00
ASTMerge ASTImporter: fix tests on Windows with removing slashed parts of paths 2017-01-23 10:39:45 +00:00
Analysis [analyzer] Consider function call arguments while building CallGraph. 2017-01-27 12:14:56 +00:00
CXX PR0091R3: Implement parsing support for using templates as types. 2017-01-26 20:40:47 +00:00
CodeCompletion [code-completion] Fix crash when trying to do postfix completion of instance member inside a static function. 2017-01-15 06:11:04 +00:00
CodeGen [ubsan] Sanity-check shift amounts before truncation (fixes PR27271) 2017-01-27 23:02:44 +00:00
CodeGenCUDA [CodeGen] [CUDA] Add the ability set default attrs on functions in linked modules. 2017-01-25 21:29:48 +00:00
CodeGenCXX Fix linkage of static locals in available_externally functions to be DiscardableODR/linkonce_odr 2017-01-27 23:11:10 +00:00
CodeGenCoroutines [coroutines] Add allocation and deallocation substatements. 2016-10-27 16:28:31 +00:00
CodeGenObjC Cleanup the handling of noinline function attributes, -fno-inline, 2016-12-23 01:24:49 +00:00
CodeGenObjCXX Add -f[no-]strict-return flag that can be used to avoid undefined behaviour 2017-01-04 13:40:34 +00:00
CodeGenOpenCL [OpenCL] Add missing address spaces in IR generation of blocks 2017-01-27 15:11:34 +00:00
Coverage Handle StaticAssertDecl in DeclContextPrinter 2017-01-03 12:16:02 +00:00
CoverageMapping [Coverage] Support for C++17 if initializers 2016-10-14 23:38:16 +00:00
Driver ARM-Darwin: re-enable -momit-leaf-frame-pointer. 2017-01-27 17:53:42 +00:00
FixIt [Sema] Improve the error diagnostic for dot destructor calls on pointer objects 2017-01-20 15:38:58 +00:00
Format clang-format: remove tests that assume no config file will be found as this is not always the case 2017-01-23 13:20:23 +00:00
Frontend Revert "Use filename in linemarker when compiling preprocessed source" 2017-01-25 07:27:05 +00:00
Headers [OpenCL] Diagnose write_only image3d when extension is disabled 2017-01-25 12:18:50 +00:00
Import Testbed and skeleton of a new expression parser 2016-12-22 20:03:14 +00:00
Index [index] When indexing an ObjC method declaration use its base name for the location. 2017-01-26 02:11:50 +00:00
Integration
Layout
Lexer P0426: Make the library implementation of constexpr char_traits a little easier 2017-01-20 00:45:35 +00:00
Misc PR31469: Don't add friend template class decls to redecl chain in dependent contexts. 2017-01-12 09:16:26 +00:00
Modules [modules] Additional tests. 2017-01-26 23:07:59 +00:00
OpenMP [OpenMP] Codegen support for 'target teams' on the NVPTX device. 2017-01-26 15:43:27 +00:00
PCH Serialize the UsesSEH bit on FunctionDecl 2017-01-10 21:27:03 +00:00
Parser PR0091R3: Implement parsing support for using templates as types. 2017-01-26 20:40:47 +00:00
Preprocessor [Frontend] The macro that describes the Objective-C bool type should 2017-01-20 16:48:25 +00:00
Profile Fix two test cases I missed updating in r291850. Sorry for the noise. 2017-01-12 22:48:28 +00:00
Rewriter [test] Port clang tests to canonicalized booleans 2017-01-25 13:11:45 +00:00
Sema Change how we handle diagnose_if attributes. 2017-01-28 02:19:40 +00:00
SemaCUDA [CUDA] Let NVPTX inherit the host's calling conventions. 2017-01-05 16:53:38 +00:00
SemaCXX Change how we handle diagnose_if attributes. 2017-01-28 02:19:40 +00:00
SemaObjC Turn on -Wblock-capture-autoreleasing by default. 2017-01-26 18:51:10 +00:00
SemaObjCXX Add fix-it notes to the nullability consistency warning. 2016-12-19 20:58:20 +00:00
SemaOpenCL [OpenCL] Add missing address spaces in IR generation of blocks 2017-01-27 15:11:34 +00:00
SemaTemplate -Wunused-func-template: do not warn on non-template function declarations that 2017-01-28 01:50:33 +00:00
TableGen
Tooling [test] Port clang tests to canonicalized booleans 2017-01-25 13:11:45 +00:00
Unit [test] Extend llvm_shlib_dir fix to unittests 2016-12-15 20:31:08 +00:00
VFS Don't diagnose non-modular includes when we are not compiling a module. 2016-08-26 17:16:46 +00:00
.clang-format
CMakeLists.txt Re-apply r292662, "IRGen: Start using the WriteThinLTOBitcode pass." 2017-01-26 23:51:50 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg [test] Port clang tests to canonicalized booleans 2017-01-25 13:11:45 +00:00
lit.site.cfg.in [test] Port clang tests to canonicalized booleans 2017-01-25 13:11:45 +00:00
make_test_dirs.pl