aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaChecking.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-09-20 18:38:57 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-09-20 18:38:57 +0000
commita405b2523b8857e0ba7e6374648b14f618879f33 (patch)
tree50bb04406dceeadcf042e1be44f931644742d9bb /lib/Sema/SemaChecking.cpp
parentb54b7646b2d00a85d80e40adf7c49553f150c736 (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