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

Issue 4749047: [PATCH] Define DiagnosticBuilder<<APValue (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 10 months ago by Jeffrey Yasskin
Modified:
12 years, 10 months ago
Reviewers:
Jeffrey Yasskin (google), clattner
Visibility:
Public.

Description

Define DiagnosticBuilder<<APValue so it's easy to include APValues in diagnostics. This is likely to get more important as generalized constant expressions get implemented.

Patch Set 1 #

Patch Set 2 : Fix Chris's review comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -1 line) Patch
M include/clang/AST/APValue.h View 2 chunks +5 lines, -0 lines 0 comments Download
M lib/AST/APValue.cpp View 1 2 chunks +45 lines, -0 lines 0 comments Download
A unittests/AST/APValueTest.cpp View 1 chunk +79 lines, -0 lines 0 comments Download
A unittests/AST/Makefile View 1 chunk +15 lines, -0 lines 0 comments Download
M unittests/CMakeLists.txt View 1 chunk +5 lines, -0 lines 0 comments Download
M unittests/Makefile View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4
Jeffrey Yasskin
Initial diff at http://codereview.appspot.com/download/issue4749047_1.diff. I haven't tested the makefile yet.
12 years, 10 months ago (2011-07-17 21:41:02 UTC) #1
clattner_apple.com
On Jul 17, 2011, at 2:41 PM, jyasskin@gmail.com wrote: > Reviewers: cfe-commits_cs.uiuc.edu, > > Message: ...
12 years, 10 months ago (2011-07-18 00:50:21 UTC) #2
Jeffrey Yasskin (google)
On Sun, Jul 17, 2011 at 5:49 PM, Chris Lattner <clattner@apple.com> wrote: > > On ...
12 years, 10 months ago (2011-07-18 07:09:34 UTC) #3
clattner_apple.com
12 years, 10 months ago (2011-07-18 16:40:00 UTC) #4
On Jul 18, 2011, at 12:09 AM, Jeffrey Yasskin wrote:

> On Sun, Jul 17, 2011 at 5:49 PM, Chris Lattner <clattner@apple.com> wrote:
>> 
>> On Jul 17, 2011, at 2:41 PM, jyasskin@gmail.com wrote:
>> 
>>> Reviewers: cfe-commits_cs.uiuc.edu,
>>> 
>>> Message:
>>> Initial diff at
>>> http://codereview.appspot.com/download/issue4749047_1.diff.
>>> 
>>> I haven't tested the makefile yet.
>>> 
>>> Description:
>>> Define DiagnosticBuilder<<APValue so it's easy to include APValues in
>>> diagnostics.  This is likely to get more important as generalized
>>> constant expressions get implemented.
>> 
>> Please send patches to the list, not links to an external review site.
> 
> Whoops, sorry, I mis-remembered the right way to do this.
> 
>> Why is WriteShortAPValueToStream templated?  Please convert it to always take
a raw_ostream and handle the builder case outside the recursive call.

LGTM, please apply, thanks!

-Chris
Sign in to reply to this message.

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