]> granicus.if.org Git - clang/commit
Convert DiagnoseEmptyLookup to use correction callbacks.
authorKaelyn Uhrain <rikka@google.com>
Wed, 18 Jan 2012 05:58:54 +0000 (05:58 +0000)
committerKaelyn Uhrain <rikka@google.com>
Wed, 18 Jan 2012 05:58:54 +0000 (05:58 +0000)
commit4798f8dfdb15fc03fa6b4104efed8762d52ebb18
tree9d2df7fbbe37f8a2565e2dc49f30b142382f720e
parent4c3fc9b38d3723f73e4ded594cebf38c76f91d93
Convert DiagnoseEmptyLookup to use correction callbacks.

No new unit tests yet as there is no behavioral change
(except for slightly more specific filtering in
Sema::ActOnStartOfLambdaDefinition). Tests will be added
as the code paths are traced in greater depth to determine
how to improve the results--there are at least one or two
known bugs that require those improvements. This commit
lays the groundwork for those changes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148382 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaOverload.cpp