]> granicus.if.org Git - clang/commit
Make all the 'redefinition' diagnostics more consistent, and make the
authorChris Lattner <sabre@nondot.org>
Sun, 23 Nov 2008 23:12:31 +0000 (23:12 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 23 Nov 2008 23:12:31 +0000 (23:12 +0000)
commit5f4a6829dc58cab2f76e2b98492859aa3b91e3f2
treec2c13ad4ad80fdb53222315c85fa883abf36becc
parentb8b96aff63e24ff1509f112de871f697aaea55f9
Make all the 'redefinition' diagnostics more consistent, and make the
"previously defined here" diagnostics all notes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59920 91177308-0d34-0410-b5e6-96231b3b80d8
39 files changed:
include/clang/Basic/DiagnosticKinds.def
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaDeclObjC.cpp
lib/Sema/SemaStmt.cpp
test/Parser/argument_redef.c
test/Sema/array-declared-as-incorrect-type.c
test/Sema/enum.c
test/Sema/function.c
test/Sema/implicit-decl.c
test/Sema/merge-decls.c
test/Sema/predefined-function.c
test/Sema/redefinition.c
test/Sema/struct-compat.c
test/Sema/switch-duplicate-defaults.c [deleted file]
test/Sema/switch.c
test/Sema/tentative-decls.c
test/Sema/typedef-redef.c
test/SemaCXX/class-names.cpp
test/SemaCXX/condition.cpp
test/SemaCXX/constructor.cpp
test/SemaCXX/conversion-function.cpp
test/SemaCXX/decl-expr-ambiguity.cpp
test/SemaCXX/default1.cpp
test/SemaCXX/destructor.cpp
test/SemaCXX/fntype-decl.cpp
test/SemaCXX/namespace.cpp
test/SemaCXX/overload-decl.cpp
test/SemaCXX/typedef-redecl.cpp
test/SemaObjC/DoubleMethod.m
test/SemaObjC/alias-test-1.m
test/SemaObjC/alias-test-2.m
test/SemaObjC/check-dup-decl-methods-1.m
test/SemaObjC/check-dup-objc-decls-1.m
test/SemaObjC/class-conforming-protocol-1.m
test/SemaObjC/class-def-test-1.m
test/SemaObjC/class-impl-1.m
test/SemaObjC/conflicting-ivar-test-1.m
test/SemaObjC/ivar-sem-check-1.m