summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PCHReader.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-11 19:58:42 +0000
committerChris Lattner <sabre@nondot.org>2009-04-11 19:58:42 +0000
commit67f35b051b608206459879ee19f831519010b5bd (patch)
tree981cab55bb95e81bc6f5dca71d9cfb4a967ab88b /clang/lib/Frontend/PCHReader.cpp
parent03a6cbbd91e6491f315a3627f1f5f03337d9c67f (diff)
downloadbcm5719-llvm-67f35b051b608206459879ee19f831519010b5bd.tar.gz
bcm5719-llvm-67f35b051b608206459879ee19f831519010b5bd.zip
improve the 'conflicting types' diagnostics to include correct location info, now
that it is plumbed through Sema. On a file from growl, we used to emit: t.mi:107059:1: warning: conflicting types for 'removePluginHandler:forPluginTypes:' - (void) removePluginHandler:(id <GrowlPluginHandler>)handler forPluginTypes:(NSSet *)extensions { ^ t.mi:105280:1: note: previous definition is here - (void) removePluginHandler:(id <NSObject>)handler forPluginTypes:(NSSet *)types; ^ now we produce: t.mi:107059:55: warning: conflicting parameter types in implementation of 'removePluginHandler:forPluginTypes:': 'id<NSObject>' vs 'id<GrowlPluginHandler>' - (void) removePluginHandler:(id <GrowlPluginHandler>)handler forPluginTypes:(NSSet *)extensions { ^ t.mi:105280:45: note: previous definition is here - (void) removePluginHandler:(id <NSObject>)handler forPluginTypes:(NSSet *)types; ^ We still don't have proper loc info for properties, hence the FIXME. rdar://6782494 llvm-svn: 68879
Diffstat (limited to 'clang/lib/Frontend/PCHReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud