llvm-project/clang/test
George Burgess IV b40cd567c3 Fix a bug in __builtin_object_size cast removal
Apparently there are many cast kinds that may cause implicit pointer
arithmetic to happen. In light of this, the cast ignoring logic
introduced in r246877 has been changed to only ignore a small set of
cast kinds, and a test for this behavior has been added.

Thanks to Richard for catching this before it became a bug report. :)

llvm-svn: 246890
2015-09-04 22:36:18 +00:00
..
ARCMT Revert "Revert r241620 and follow-up commits" and move the initialization 2015-07-08 01:00:30 +00:00
ASTMerge PR10405 - Desugar FunctionType and TemplateSpecializationType if any type that appears inside needs to be desugared. 2015-07-16 01:06:17 +00:00
Analysis [Static Analyzer] Remove sinks from nullability checks. 2015-09-03 23:16:21 +00:00
CXX PR24612: Don't bail out of checking a constexpr function before checking 2015-08-28 22:33:53 +00:00
CodeCompletion [Tests] Modified Lit Tests to be C++11 compatibile 2015-08-27 18:49:15 +00:00
CodeGen Fix a bug in __builtin_object_size cast removal 2015-09-04 22:36:18 +00:00
CodeGenCUDA [CUDA] Change initializer for CUDA device code based on CUDA documentation. 2015-08-22 05:49:28 +00:00
CodeGenCXX Relax partial-init test case for ARM 2015-09-04 22:32:51 +00:00
CodeGenObjC Fix CHECK directives that weren't checking. 2015-08-31 21:48:52 +00:00
CodeGenObjCXX When building a pseudo-object assignment, and the RHS is 2015-08-22 00:35:27 +00:00
CodeGenOpenCL Fix invalid shufflevector operands 2015-08-02 15:28:10 +00:00
Coverage
CoverageMapping InstrProf: Fix a misuse of the FunctionDecl API when generating coverage 2015-07-28 00:41:51 +00:00
Driver Put ext_implicit_lib_function_decl in ImplicitFunctionDeclare. 2015-09-04 16:07:39 +00:00
FixIt Replace __double_underscored type nullability qualifiers with _Uppercase_underscored 2015-06-24 22:02:08 +00:00
Format Disable style-on-command-line test on Windows 2015-06-09 17:47:59 +00:00
Frontend Do not include default sanitizer blacklists into -M/-MM/-MD/-MMD output. 2015-09-02 20:02:38 +00:00
Headers Revert "Revert r241620 and follow-up commits" and move the initialization 2015-07-08 01:00:30 +00:00
Index [libclang] Return deduced type for auto type, not the one written in the source. 2015-09-03 16:11:10 +00:00
Integration
Layout Fix the layout of bitfields in ms_struct unions: their 2015-08-19 22:42:36 +00:00
Lexer Turn off __has_feature(cxx_rtti) when -fno-rtti-data is present 2015-08-13 17:56:49 +00:00
Misc Put ext_implicit_lib_function_decl in ImplicitFunctionDeclare. 2015-09-04 16:07:39 +00:00
Modules [modules] Tighten up this test a bit. 2015-09-02 20:16:09 +00:00
OpenMP [OPENMP] Fix false diagnostic on instantiation-dependent exprs for atomic constructs. 2015-09-04 12:55:50 +00:00
PCH Fix crash on invalid if we can't find a suitable PCH file in a specified 2015-09-04 21:44:32 +00:00
Parser Windows ARM: ignore calling conventions as described on MSDN 2015-08-14 18:00:09 +00:00
Preprocessor [WebAssembly] Initial WebAssembly support in clang 2015-09-03 22:51:53 +00:00
Profile Tweak a couple of -fprofile tests in clang/test to accept backslash in path. 2015-07-10 13:11:08 +00:00
Rewriter __declspec is not a core Clang language extension. Instead, require -fms-extensions or -fborland to enable the language extension. 2015-05-26 19:44:52 +00:00
Sema Don't crash on a self-alias declaration 2015-09-04 21:49:21 +00:00
SemaCUDA [CUDA] Check register names on appropriate side of cuda compilation only. 2015-08-27 19:54:21 +00:00
SemaCXX Don't allow dllexport/import on static local variables 2015-09-04 19:59:39 +00:00
SemaObjC [SemaObjC] Remove unused code from test. 2015-08-21 20:28:16 +00:00
SemaObjCXX Add a new frontend warning for referencing members from the handler of a constructor or destructor function-try-block, which is UB in C++. 2015-09-01 14:49:24 +00:00
SemaOpenCL [OpenCL] Improve diagnostics detecting implicit vector conversion. 2015-08-30 18:06:39 +00:00
SemaTemplate Fix assertion failure in TransformOpaqueValueExpr 2015-09-01 22:50:31 +00:00
TableGen
Tooling Change the expectation for test/Tooling/ms-asm-no-target.cpp since 2015-07-08 01:39:38 +00:00
Unit
VFS Commit some test changes somehow missed in r239789. 2015-06-16 00:19:29 +00:00
.clang-format
CMakeLists.txt Revert "Revert r241620 and follow-up commits" and move the initialization 2015-07-08 01:00:30 +00:00
Makefile
TestRunner.sh
cxx-sections.data
lit.cfg Enable clang tests requiring "clang-driver" on mingw. 2015-07-25 20:05:21 +00:00
lit.site.cfg.in Check for backtraces in tests which are verifying pretty stack traces from a crashing clang. 2015-02-10 19:53:38 +00:00
make_test_dirs.pl