llvm-project/clang/lib
Kaelyn Takata 05f4050928 Properly handle typos in the conditional of ?: expressions in C.
In particular, remove the OpaqueExpr transformation from r225389 and
move the correction of the conditional from CheckConditionalOperands to
ActOnConditionalOp before the OpaqueExpr is created. This fixes the
typo correction behavior in C code that uses the GNU extension for a
binary ?: (without an expression between the "?" and the ":").

llvm-svn: 227220
2015-01-27 18:26:18 +00:00
..
ARCMigrate Objective-C SDK modernizer to use NS_ENUM/NS_OPTIONS macros 2015-01-26 17:41:03 +00:00
AST When checking the template argument list, use a copy of that list for changes 2015-01-24 02:48:32 +00:00
ASTMatchers Add voidType() matcher. 2014-12-15 15:09:22 +00:00
Analysis [cleanup] Re-sort *all* #include lines with llvm/utils/sort_includes.py 2015-01-14 11:29:14 +00:00
Basic Begin to teach clang about the PS4. 2015-01-27 14:47:44 +00:00
CodeGen Begin to teach clang about the PS4. 2015-01-27 14:47:44 +00:00
Driver Fix part of r227215. PS4 code just omits leaf frame pointers. 2015-01-27 18:08:32 +00:00
Edit Edit: Do not extend a removal to include trailing whitespace if we're at the end 2014-09-15 11:47:10 +00:00
Format clang-format: Fix another crasher caused by incomplete macro code. 2015-01-23 19:37:25 +00:00
Frontend Process the -fno-signed-zeros optimization flag (PR20870) 2015-01-23 16:40:50 +00:00
FrontendTool Provide a BuryPointer for unique_ptrs. 2014-08-29 16:53:14 +00:00
Headers [X86] Add intrinsics for AVX512 128 and 256 bit integer comparison of word and byte vectors. 2015-01-27 09:16:29 +00:00
Index [libclang] Use same USR encoding for 'char' regardless of what the target considers the sign to be. 2014-12-08 09:09:05 +00:00
Lex Inherit attributes when infering a framework module 2015-01-13 17:47:44 +00:00
Parse Remove duplicate code 2015-01-25 00:25:44 +00:00
Rewrite Trim some includes. NFC. 2014-10-29 22:13:46 +00:00
Sema Properly handle typos in the conditional of ?: expressions in C. 2015-01-27 18:26:18 +00:00
Serialization [modules] Sometimes we can deserialize a class member but not have yet 2015-01-24 01:07:20 +00:00
StaticAnalyzer Test commit, no changes. 2015-01-20 09:47:57 +00:00
Tooling Adopt new cl::HideUnrelatedOptions API added r226729. 2015-01-21 23:26:11 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00