hanchenye-llvm-project/clang/lib
Sam Panzer 0f38443616 Better diagnostics for range-based for loops with bad range types.
The old error message stating that 'begin' was an undeclared identifier
is replaced with a new message explaining that the error is in the range
expression, along with which of the begin() and end() functions was
problematic if relevant.

Additionally, if the range was a pointer type or defines operator*,
attempt to dereference the range, and offer a FixIt if the modified range
works.

llvm-svn: 162248
2012-08-21 00:52:01 +00:00
..
ARCMigrate Update VerifyDiagnosticConsumer to only get directives during parsing. 2012-08-10 01:06:16 +00:00
AST DeclPrinter: add terse output mode and lots of tests 2012-08-20 23:39:06 +00:00
ASTMatchers Fix for ASTMatchFinder to visit a functions parameter declarations. 2012-07-30 05:03:25 +00:00
Analysis [analyzer] Teach live variable analyzes that super uses self pointer. 2012-08-14 00:36:20 +00:00
Basic Avoid binding a reference to a dereferenced null pointer, if we try to emit a 2012-08-17 00:55:32 +00:00
CodeGen Fix a pair of bugs relating to properties in ARC. 2012-08-20 23:36:59 +00:00
Driver Fix -Wswitch warning introduced by r162231 2012-08-20 22:22:51 +00:00
Edit clang/lib: [CMake] Update tblgen'd dependencies. 2012-07-27 06:18:33 +00:00
Frontend Allow -verify to be used with files that don't have an associated FileEntry. 2012-08-18 16:58:52 +00:00
FrontendTool Added -ast-list option to dump filterable AST decl node names. 2012-07-31 09:37:40 +00:00
Headers
Lex Switch PTH format from a 7 byte magic number to an 8 byte one, to avoid 2012-08-17 03:55:43 +00:00
Parse Better diagnostics for range-based for loops with bad range types. 2012-08-21 00:52:01 +00:00
Rewrite Store SourceManager pointer on PrintingPolicy in the case where we're dumping, 2012-08-16 03:56:14 +00:00
Sema Better diagnostics for range-based for loops with bad range types. 2012-08-21 00:52:01 +00:00
Serialization [ms-inline asm] Remove old cruft now that MS-style asms their own code path. 2012-08-20 17:11:53 +00:00
StaticAnalyzer [analyzer] Assume that reference symbols are non-null. 2012-08-21 00:27:33 +00:00
Tooling Fixes a segfault in Tooling when using pch's: 2012-07-31 13:56:54 +00:00
CMakeLists.txt
Makefile