Eagerly correct typos in ParenExprs that may be type casts for non-C++ code.
authorKaelyn Takata <rikka@google.com>
Fri, 1 May 2015 19:36:25 +0000 (19:36 +0000)
committerKaelyn Takata <rikka@google.com>
Fri, 1 May 2015 19:36:25 +0000 (19:36 +0000)
commit5a5319062300166a747807339349766341a2c2b2
treeeb7754fd23e4587b49e7c22831519d5201d7c9cf
parent06b21daf008f0bb9426d06f819322a8709094838
Eagerly correct typos in ParenExprs that may be type casts for non-C++ code.

This is needed to ensure the type casts are parsed properly. Fixes
PR23101.

llvm-svn: 236337
clang/lib/Parse/ParseExpr.cpp
clang/test/Sema/typo-correction.c