llvm-project/clang/lib
David Majnemer 38a50c0a16 [Sema] Emit a better diagnostic when variable redeclarations disagree
We referred to all declaration in definitions in our diagnostic messages
which is can be inaccurate.  Instead, classify the declaration and emit
an appropriate diagnostic for the new declaration and an appropriate
note pointing to the old one.

This fixes PR24116.

llvm-svn: 242190
2015-07-14 20:08:49 +00:00
..
ARCMigrate Switch users of the 'for (StmtRange range = stmt->children(); range; ++range)‘ pattern to range for loops. 2015-07-02 21:03:14 +00:00
AST [OpenMP] Add TLS-based implementation for threadprivate directive. 2015-07-13 22:54:53 +00:00
ASTMatchers AST Matchers: pass ast_type_traits::DynTypedNode by const-ref 2015-07-14 16:50:14 +00:00
Analysis Rewrite users of Stmt::child_begin/end into for-range loops. 2015-07-03 15:12:24 +00:00
Basic Pull trivial SanitizerSet methods into the header. 2015-07-14 15:34:19 +00:00
CodeGen Add missing builtins to altivec.h for ABI compliance (vol. 4) 2015-07-14 17:50:27 +00:00
Driver [clang-cl] Disable C++ exceptions a different way 2015-07-14 18:16:48 +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 formatting of multiple lambdas in initializers. 2015-07-14 11:26:14 +00:00
Frontend Extend -ftime-report to give more information about time spent reading module files. 2015-07-14 00:26:00 +00:00
FrontendTool Provide a BuryPointer for unique_ptrs. 2014-08-29 16:53:14 +00:00
Headers Add missing builtins to altivec.h for ABI compliance (vol. 4) 2015-07-14 17:50:27 +00:00
Index Rename MacroDefinition -> MacroDefinitionRecord, Preprocessor::MacroDefinition -> MacroDefinition. 2015-05-04 02:25:31 +00:00
Lex [modules] When diagnosing errors in module map files found by 'extern module' declarations, show how we got to that module map file. 2015-07-14 02:06:01 +00:00
Parse Classes inside lambdas are local not nested. 2015-07-14 10:02:10 +00:00
Rewrite Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
Sema [Sema] Emit a better diagnostic when variable redeclarations disagree 2015-07-14 20:08:49 +00:00
Serialization [modules] Avoid repeatedly hashing the same name when looking it up in multiple module files. 2015-07-14 18:42:41 +00:00
StaticAnalyzer [Analyzer] Move FindSuperCallVisitor into an anonymous namespace. 2015-07-14 12:37:59 +00:00
Tooling Driver: Remove the Job class. NFC 2015-07-02 22:52:08 +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