llvm-project/clang/test
Volodymyr Sapsai b0f1aae9b3 [Parser] Correct initalizer typos before lambda capture type is deduced.
This is the same assertion as in https://reviews.llvm.org/D25206 that is
triggered when RecordLayoutBuilder tries to compute the size of a field
(for capture "typo_boo" in the test case) whose type hasn't been
deduced.

The fix is to add CorrectDelayedTyposInExpr call to the cases when we
aren't disambiguating between an Obj-C message send and a lambda
expression.

rdar://problem/31760839

Reviewers: rsmith, ahatanak

Reviewed By: arphaman

Subscribers: cfe-commits

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

llvm-svn: 311480
2017-08-22 17:55:19 +00:00
..
ARCMT clang/test/ARCMT/remap-applying.c: Use %/s on the command line of echo(1). 2017-04-28 05:02:52 +00:00
ASTMerge
Analysis [StaticAnalyzer] LoopUnrolling: Track a LoopStack in order to completely unroll specific loops 2017-08-21 16:32:57 +00:00
CXX [c++2a] Implement P0409R2 - Allow lambda capture [=,this] (by hamzasood) 2017-08-19 03:43:07 +00:00
CodeCompletion Fixed failing assert in code completion. 2017-07-21 09:24:00 +00:00
CodeGen Use the file name from linemarker for debug info if an input is preprocessed source. 2017-08-16 19:36:24 +00:00
CodeGenCUDA CodeGenModule: Always output wchar_size, check LLVM assumptions. 2017-05-20 01:29:55 +00:00
CodeGenCXX PR19668, PR23034: Fix handling of move constructors and deleted copy 2017-08-16 01:49:53 +00:00
CodeGenCoroutines [coroutines] Evaluate the operand of void `co_return` expressions. 2017-07-31 07:48:13 +00:00
CodeGenObjC [ObjC] Use consistent comment style in inline asm 2017-08-21 09:54:46 +00:00
CodeGenObjCXX test: fix test for release builds 2017-06-27 18:57:50 +00:00
CodeGenOpenCL Attempt to fix failure in CodeGenOpenCL/atomic-ops.cl again 2017-08-15 17:59:26 +00:00
Coverage [Analyzer] Add support for displaying cross-file diagnostic paths in HTML output 2017-08-03 18:12:22 +00:00
CoverageMapping [clang] Get rid of "%T" expansions 2017-08-15 19:47:06 +00:00
Driver Fixed driver tests for -fsanitize=fuzzer. 2017-08-22 00:04:05 +00:00
FixIt [c++2a] Implement P0409R2 - Allow lambda capture [=,this] (by hamzasood) 2017-08-19 03:43:07 +00:00
Format [clang] Get rid of "%T" expansions 2017-08-15 19:47:06 +00:00
Frontend [clang] Fix tests for Emitting Single Inline Remark 2017-08-21 16:40:35 +00:00
Headers Add test that we get the correct calling convention and mangling for va_list. 2017-08-16 01:46:46 +00:00
Import This adds the argument --dump-ir to clang-import-test, which allows 2017-08-07 22:27:30 +00:00
Index Revert r311442 (Fix templated type alias completion when using global completion cache) 2017-08-22 10:54:40 +00:00
Integration Tie the macOS tests in test/Integration to the latest macOS SDK 2017-06-02 11:26:35 +00:00
Layout
Lexer Add missing test for warning added in r310803. 2017-08-16 00:06:07 +00:00
Misc [diagtool] Add ability to pass in the id and return the name for a 2017-08-03 16:13:13 +00:00
Modules [clang] Get rid of "%T" expansions 2017-08-15 19:47:06 +00:00
OpenMP [OPENMP] Fix for PR34014: OpenMP 4.5: Target construct in static method 2017-08-22 17:54:52 +00:00
PCH [clang] Get rid of "%T" expansions 2017-08-15 19:47:06 +00:00
Parser Replace remaining user-visible mentions of C++1z with C++17. 2017-08-13 22:26:53 +00:00
Preprocessor [clang] Get rid of "%T" expansions 2017-08-15 19:47:06 +00:00
Profile [Profile] Do not assign counters to functions without bodies 2017-06-30 21:02:14 +00:00
Rewriter [Objective-C] Fix non-determinism in clang 2017-07-06 18:49:57 +00:00
Sema Allow pretty platform names in availability attributes 2017-08-15 14:42:01 +00:00
SemaCUDA PR34163: Don't cache an incorrect key function for a class if queried between 2017-08-12 01:46:03 +00:00
SemaCXX [Parser] Correct initalizer typos before lambda capture type is deduced. 2017-08-22 17:55:19 +00:00
SemaObjC [ObjC] Check written attributes only when synthesizing ambiguous property 2017-08-22 10:38:07 +00:00
SemaObjCXX Fix errored return value in CheckFunctionReturnType and add a fixit hint 2017-05-10 20:03:16 +00:00
SemaOpenCL Remove -finclude-default-header in OpenCL atomic tests 2017-08-15 16:30:31 +00:00
SemaTemplate Replace remaining user-visible mentions of C++1z with C++17. 2017-08-13 22:26:53 +00:00
TableGen
Tooling [clang-diff] Refactor stop-after command-line flag 2017-08-22 17:42:44 +00:00
Unit Change remaining references to lit.util.capture to use subprocess.check_output. 2017-07-06 21:46:47 +00:00
VFS
clang-rename Move ClassReplacements.cpp test from clang-rename tests to the 2017-06-30 16:58:36 +00:00
.clang-format
CMakeLists.txt Clang's tests should depend on clang-diff 2017-07-21 13:12:01 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Add clang-diff to tool_patterns in test/lit.cfg 2017-08-19 17:52:29 +00:00
lit.site.cfg.in Revert "Revert "[clang-diff] Move the JSON export function to clang-diff"" 2017-08-19 00:57:38 +00:00
make_test_dirs.pl