llvm-project/clang/lib
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
..
ARCMigrate Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:23:19 +00:00
AST [ODRHash] Move into anonymous namespace. NFC. 2017-08-20 13:02:57 +00:00
ASTMatchers [ASTMatchers] Fix use after free. 2017-06-09 17:55:42 +00:00
Analysis [CFG] Add LoopExit information to CFG 2017-08-19 11:19:16 +00:00
Basic [mips] Rename getSupportedNanEncoding() to getIEEE754Standard() 2017-08-22 13:35:27 +00:00
CodeGen [OPENMP] Fix for PR34014: OpenMP 4.5: Target construct in static method 2017-08-22 17:54:52 +00:00
Driver [mips] Rename getSupportedNanEncoding() to getIEEE754Standard() 2017-08-22 13:35:27 +00:00
Edit [clang] Fix format specifiers fixits for nested macros 2017-06-20 20:46:58 +00:00
Format [clang-format] Break non-trailing block comments 2017-08-22 14:40:05 +00:00
Frontend Revert r311442 (Fix templated type alias completion when using global completion cache) 2017-08-22 10:54:40 +00:00
FrontendTool Update after LLVM change r309087 2017-07-26 09:10:17 +00:00
Headers [OpenCL] Remove extra select functions from opencl-c.h 2017-08-05 02:23:47 +00:00
Index Print enum constant values using the original source formatting 2017-08-17 13:41:55 +00:00
Lex Fixed a crash on replaying Preamble's PP conditional stack. 2017-08-21 12:03:08 +00:00
Parse [Parser] Correct initalizer typos before lambda capture type is deduced. 2017-08-22 17:55:19 +00:00
Rewrite [Analyzer] Add support for displaying cross-file diagnostic paths in HTML output 2017-08-03 18:12:22 +00:00
Sema [OPENMP] Fix for PR34014: OpenMP 4.5: Target construct in static method 2017-08-22 17:54:52 +00:00
Serialization PR19668, PR23034: Fix handling of move constructors and deleted copy 2017-08-16 01:49:53 +00:00
StaticAnalyzer [StaticAnalyzer] LoopUnrolling: Track a LoopStack in order to completely unroll specific loops 2017-08-21 16:32:57 +00:00
Tooling [clang-diff] Fix getRelativeName 2017-08-22 08:59:13 +00:00
CMakeLists.txt