[PATCH v3 3/9] Pass around CorrectionCandidateCallbacks as unique_ptrs so TypoCorrectionConsumer can keep the callback around as long as needed.

Kaelyn Takata rikka at google.com
Mon Jul 14 16:55:35 PDT 2014


---
 include/clang/Parse/Parser.h      |  5 ++--
 include/clang/Sema/Sema.h         | 27 +++++++++----------
 include/clang/Sema/SemaInternal.h | 18 ++++++-------
 lib/Parse/ParseExpr.cpp           |  8 +++---
 lib/Parse/ParseStmt.cpp           |  6 ++---
 lib/Parse/ParseTentative.cpp      |  8 +++---
 lib/Parse/Parser.cpp              |  8 +++---
 lib/Sema/SemaCXXScopeSpec.cpp     |  9 +++----
 lib/Sema/SemaDecl.cpp             | 57 +++++++++++++++++++--------------------
 lib/Sema/SemaDeclCXX.cpp          | 27 ++++++++++---------
 lib/Sema/SemaDeclObjC.cpp         | 21 +++++++--------
 lib/Sema/SemaExpr.cpp             | 37 ++++++++++++-------------
 lib/Sema/SemaExprMember.cpp       | 15 +++++------
 lib/Sema/SemaExprObjC.cpp         | 18 ++++++-------
 lib/Sema/SemaInit.cpp             |  4 +--
 lib/Sema/SemaLambda.cpp           |  4 +--
 lib/Sema/SemaLookup.cpp           | 27 +++++++++++--------
 lib/Sema/SemaOpenMP.cpp           |  7 +++--
 lib/Sema/SemaOverload.cpp         | 23 +++++++++-------
 lib/Sema/SemaTemplate.cpp         | 17 ++++++------
 lib/Sema/SemaTemplateVariadic.cpp |  8 +++---
 21 files changed, 179 insertions(+), 175 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: v3-0003-Pass-around-CorrectionCandidateCallbacks-as-uniqu.patch
Type: text/x-patch
Size: 43804 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140714/0dfcde5a/attachment.bin>


More information about the cfe-commits mailing list