hanchenye-llvm-project/clang/test/CXX
David Majnemer 742424339a Sema: Disallow taking the address of a bitfield coming from preincrement
Clang forgot that '++s.m' was a bitfield l-value and permit it's address
to be taken; this would crash at CodeGen-time.

Instead, propagate the object-kind when we see the prefix
increment/decrement.

This fixes PR20496.

Differential Revision: http://reviews.llvm.org/D4733

llvm-svn: 214386
2014-07-31 04:52:13 +00:00
..
basic Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
class Implement DR1460: fix handling of default initializers in unions; don't allow 2013-12-10 08:25:00 +00:00
class.access When formatting a C++-only declaration name, enable C++ mode in the formatter's 2014-01-22 00:27:42 +00:00
class.derived Implement final resolution of DR1402: implicitly-declared move operators that 2013-11-04 01:48:18 +00:00
conv
dcl.dcl Improve diagnostic on default-initializing const variables (PR20208). 2014-07-23 05:16:10 +00:00
dcl.decl Improve diagnostic on default-initializing const variables (PR20208). 2014-07-23 05:16:10 +00:00
drs Sema: Disallow taking the address of a bitfield coming from preincrement 2014-07-31 04:52:13 +00:00
except Mark C++ reference parameters as dereferenceable 2014-07-18 15:52:10 +00:00
expr More fixes for isBetterOverloadCandidate not being a strict weak ordering. The 2014-05-17 04:36:39 +00:00
lex Improving the "integer constant too large" diagnostics based on post-commit feedback from Richard Smith. Amends r213657. 2014-07-24 14:51:23 +00:00
over Implement [over.match.oper]p3 properly, by filtering the non-candidates out 2014-04-17 01:52:14 +00:00
special Replace "can not" with "cannot" in diagnostics messages. 2014-03-07 22:36:23 +00:00
stmt.stmt
temp Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00