diff options
author | David Blaikie <dblaikie@gmail.com> | 2012-09-20 18:38:57 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2012-09-20 18:38:57 +0000 |
commit | a405b2523b8857e0ba7e6374648b14f618879f33 (patch) | |
tree | 50bb04406dceeadcf042e1be44f931644742d9bb /lib/Sema/SemaChecking.cpp | |
parent | b54b7646b2d00a85d80e40adf7c49553f150c736 (diff) |
Include types when a definition's type differs from a prior declaration.
This is some really old code (took me a while to find the test cases) & the
diagnostic text is slightly incorrect (it should really only apply to
re/declarations/, redefinitions are an error regardless of whether the types
match). Not sure if anyone cares about it, though.
For now this just makes the diagnostic more clear in less obvious cases where
the type of a declaration might not be explicitly written (eg: because it
uses decltype)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164313 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaChecking.cpp')
0 files changed, 0 insertions, 0 deletions