Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(542)

Issue 4908044: Add typo correction to DiagnoseInvalidRedeclaration (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by Kaelyn
Modified:
12 years, 7 months ago
Reviewers:
chandlerc
Visibility:
Public.

Description

Reworks DiagnoseInvalidRedeclaration to add the ability to correct typos when diagnosing invalid function redeclarations

Patch Set 1 #

Total comments: 11

Patch Set 2 : Incorporate review feedback from chandlerc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -23 lines) Patch
M include/clang/Basic/DiagnosticSemaKinds.td View 2 chunks +5 lines, -0 lines 0 comments Download
M lib/Sema/SemaDecl.cpp View 1 2 chunks +69 lines, -23 lines 0 comments Download
A test/SemaCXX/function-redecl-typo-correction.cpp View 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 6
Kaelyn
12 years, 8 months ago (2011-08-15 22:12:52 UTC) #1
chandlerc
Sorry this one took so long. http://codereview.appspot.com/4908044/diff/1/lib/Sema/SemaDecl.cpp File lib/Sema/SemaDecl.cpp (right): http://codereview.appspot.com/4908044/diff/1/lib/Sema/SemaDecl.cpp#newcode4201 lib/Sema/SemaDecl.cpp:4201: // If the ...
12 years, 8 months ago (2011-08-17 20:46:03 UTC) #2
Kaelyn
PTAL http://codereview.appspot.com/4908044/diff/1/lib/Sema/SemaDecl.cpp File lib/Sema/SemaDecl.cpp (right): http://codereview.appspot.com/4908044/diff/1/lib/Sema/SemaDecl.cpp#newcode4201 lib/Sema/SemaDecl.cpp:4201: // If the qualified name lookup yielded nothing, ...
12 years, 8 months ago (2011-08-18 17:14:08 UTC) #3
Kaelyn
12 years, 8 months ago (2011-08-18 17:14:12 UTC) #4
chandlerc
This looks good, but... On 2011/08/17 20:46:03, chandlerc wrote: > http://codereview.appspot.com/4908044/diff/1/test/SemaCXX/function-redecl-typo-correction.cpp > File test/SemaCXX/function-redecl-typo-correction.cpp (right): ...
12 years, 8 months ago (2011-08-18 17:27:46 UTC) #5
Kaelyn
12 years, 8 months ago (2011-08-18 18:20:21 UTC) #6
On 2011/08/18 17:27:46, chandlerc wrote:
> This looks good, but...
> 
> On 2011/08/17 20:46:03, chandlerc wrote:
> >
>
http://codereview.appspot.com/4908044/diff/1/test/SemaCXX/function-redecl-typ...
> > File test/SemaCXX/function-redecl-typo-correction.cpp (right):
> > 
> >
>
http://codereview.appspot.com/4908044/diff/1/test/SemaCXX/function-redecl-typ...
> > test/SemaCXX/function-redecl-typo-correction.cpp:1: // RUN: %clang_cc1
> > -fsyntax-only -verify %s
> > Could we just merge this with existing function redecl tests? Seems a bit
> small
> > to live on its own.
> 
> ?

The function redecl tests have been merged, and the patchset committed as
r137966.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b