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.llvm-svn: 1
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.llvm-svn: 166280
show more ...
constexpr: initialization of a union from an empty initializer-list shouldzero-initialize the first union member. Also fix a bug where initializing anarray of types compatible with wchar_t from a w
constexpr: initialization of a union from an empty initializer-list shouldzero-initialize the first union member. Also fix a bug where initializing anarray of types compatible with wchar_t from a wide string literal failed in C,and fortify the C++ tests in this area. This part can't be tested without a codechange to enable array evaluation in C (where an existing test fails).llvm-svn: 148035
When adding a direct initializer to a declaration, allow theinitializer to update the type of the declaration. For example, thisallows us to determine the size of an incomplete array from itsiniti
When adding a direct initializer to a declaration, allow theinitializer to update the type of the declaration. For example, thisallows us to determine the size of an incomplete array from itsinitializer. Fixes PR10288.llvm-svn: 141543
PR9669: implement correct checking for [dcl.init.string]p2.llvm-svn: 129260