llvm-project/clang/lib
Richard Trieu af7d76c720 Improve the error message for assigning to read-only variables.
Previously, many error messages would simply be "read-only variable is not
assignable"  This change provides more information about why the variable is
not assignable, as well as note to where the const is located.

Differential Revision: http://reviews.llvm.org/D4479

llvm-svn: 234677
2015-04-11 01:53:13 +00:00
..
ARCMigrate [Objective-C SDK modernizer]. Patch to convert setter/getter 2015-04-02 21:36:03 +00:00
AST [SEH] Re-land r234532, but use internal linkage for all SEH helpers 2015-04-10 17:34:52 +00:00
ASTMatchers ASTMatchers: Add an explicit dependency on libclangBasic. 2015-03-12 16:25:19 +00:00
Analysis Take the non-reference type when constructing a dummy expression. 2015-03-16 21:49:43 +00:00
Basic Create the correct profiling symbol on NetBSD. 2015-04-10 21:02:53 +00:00
CodeGen [Driver] Properly support -mglobal-merge using explicit options. 2015-04-11 00:10:44 +00:00
Driver [Driver] Properly support -mglobal-merge using explicit options. 2015-04-11 00:10:44 +00:00
Edit [edit] Don't hit an assert when trying to delete a trailing space at EOF 2015-03-29 18:07:29 +00:00
Format clang-format: Fix regression formatting QT's "signals:" from r234318. 2015-04-07 15:04:40 +00:00
Frontend [Driver] Properly support -mglobal-merge using explicit options. 2015-04-11 00:10:44 +00:00
FrontendTool Provide a BuryPointer for unique_ptrs. 2014-08-29 16:53:14 +00:00
Headers _mm256_blend_epi16 is being cast to __m256d instead of __m256i. Fixing this. 2015-04-10 02:39:45 +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 MSan told me that we actually dump the entire scratch buffer into PCH files, initialize it. 2015-04-06 20:01:49 +00:00
Parse Don't eagerly typo-correct to a keyword if the next token is a right paren. 2015-04-10 19:16:46 +00:00
Rewrite [Rewrite] Make RewriteBuffer accessible on its own, and add a unit test for it. 2015-03-08 04:00:33 +00:00
Sema Improve the error message for assigning to read-only variables. 2015-04-11 01:53:13 +00:00
Serialization Workaround a performance issue with modules + PCH 2015-04-10 22:25:42 +00:00
StaticAnalyzer Reduce dyn_cast<> to isa<> or cast<> where possible. Clang edition. 2015-04-10 11:37:55 +00:00
Tooling Make the clang-fuzzer use the CompilerInstance directly. 2015-03-28 00:42:36 +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