Keyboard Shortcuts

File
u :up to issue
m :publish + mail comments
M :edit review message
j / k :jump to file after / before current file
J / K :jump to next file with a comment after / before current file
Side-by-side diff
i :toggle intra-line diffs
e :expand all comments
c :collapse all comments
s :toggle showing all comments
n / p :next / previous diff chunk or comment
N / P :next / previous comment
<Up> / <Down> :next / previous line
<Enter> :respond to / edit current comment
d :mark current comment as done
Issue
u :up to list of issues
m :publish + mail comments
j / k :jump to patch after / before current patch
o / <Enter> :open current patch in side-by-side view
i :open current patch in unified diff view
Issue List
j / k :jump to issue after / before current issue
o / <Enter> :open current issue
# : close issue
Comment/message editing
<Ctrl> + s or <Ctrl> + Enter :save comment
<Esc> :cancel edit
Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(111)
Issues Repositories Search
Open Issues | Closed Issues | All Issues | Sign in with your Google Account to create issues and add comments

Issue 5572049: Avoid correcting unknown identifiers to types where types aren't allowed.

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 11 months ago by Kaelyn
Modified:
13 years, 11 months ago
Reviewers:
kyrtzidis
CC:
cfe-commits_cs.uiuc.edu
Visibility:
Public.
Pass a typo correction callback object from ParseCastExpr to Sema::ActOnIdExpression to be a bit more selective about what kinds of corrections will be allowed for unknown identifiers.

Patch Set 1 #

Created: 13 years, 11 months ago
Download [raw] [tar.bz2]
Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -18 lines) Patch
M include/clang/Parse/Parser.h View 2 chunks +11 lines, -4 lines 0 comments Download
M include/clang/Sema/Sema.h View 1 chunk +2 lines, -1 line 0 comments Download
M lib/Parse/ParseExpr.cpp View 11 chunks +39 lines, -10 lines 0 comments Download
M lib/Parse/ParseExprCXX.cpp View 1 chunk +1 line, -1 line 0 comments Download
M lib/Sema/SemaExpr.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M test/SemaCXX/typo-correction.cpp View 1 chunk +12 lines, -0 lines 0 comments Download
Total messages: 3
|
Kaelyn
13 years, 11 months ago (2012年01月23日 20:45:59 UTC) #1
Sign in to reply to this message.
Kaelyn
Ping? I'd at least like someone more familiar with the parser to give this patch ...
13 years, 11 months ago (2012年01月25日 18:49:23 UTC) #2
Ping? I'd at least like someone more familiar with the parser to give this
patch a once-over before committing it.
Thanks,
Kaelyn
On Mon, Jan 23, 2012 at 12:45 PM, <rikka@google.com> wrote:
> Reviewers: kyrtzidis_apple.com,
>
> Description:
> Pass a typo correction callback object from ParseCastExpr to
> Sema::ActOnIdExpression to be a bit more selective about what kinds of
> corrections will be allowed for unknown identifiers.
>
> Please review this at
http://codereview.appspot.com/**5572049/<http://codereview.appspot.com/5572049/>
>
> Affected files:
> M include/clang/Parse/Parser.h
> M include/clang/Sema/Sema.h
> M lib/Parse/ParseExpr.cpp
> M lib/Parse/ParseExprCXX.cpp
> M lib/Sema/SemaExpr.cpp
> M test/SemaCXX/typo-correction.**cpp
>
>
>
Sign in to reply to this message.
kyrtzidis_apple.com
LGTM! On Jan 25, 2012, at 10:49 AM, Kaelyn Uhrain wrote: > Ping? I'd at ...
13 years, 11 months ago (2012年01月25日 20:02:29 UTC) #3
LGTM!
On Jan 25, 2012, at 10:49 AM, Kaelyn Uhrain wrote:
> Ping? I'd at least like someone more familiar with the parser to give this
patch a once-over before committing it.
> 
> Thanks,
> Kaelyn
> 
> On Mon, Jan 23, 2012 at 12:45 PM, <rikka@google.com> wrote:
> Reviewers: kyrtzidis_apple.com,
> 
> Description:
> Pass a typo correction callback object from ParseCastExpr to
> Sema::ActOnIdExpression to be a bit more selective about what kinds of
> corrections will be allowed for unknown identifiers.
> 
> Please review this at http://codereview.appspot.com/5572049/
> 
> Affected files:
> M include/clang/Parse/Parser.h
> M include/clang/Sema/Sema.h
> M lib/Parse/ParseExpr.cpp
> M lib/Parse/ParseExprCXX.cpp
> M lib/Sema/SemaExpr.cpp
> M test/SemaCXX/typo-correction.cpp
> 
> 
> 
Sign in to reply to this message.
|
Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b

AltStyle によって変換されたページ (->オリジナル) /