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

Issue 6333046: Implemented conditional processing. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 10 months ago by Alok Priyadarshi
Modified:
11 years, 10 months ago
Reviewers:
kbr1
CC:
angleproject-review_googlegroups.com
Base URL:
http://angleproject.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Implemented conditional processing. Committed: https://code.google.com/p/angleproject/source/detail?r=1168

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 4

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1263 lines, -100 lines) Patch
M src/compiler/preprocessor/new/Diagnostics.h View 3 chunks +8 lines, -0 lines 0 comments Download
M src/compiler/preprocessor/new/DirectiveParser.h View 2 chunks +24 lines, -0 lines 0 comments Download
M src/compiler/preprocessor/new/DirectiveParser.cpp View 1 2 3 4 11 chunks +432 lines, -89 lines 0 comments Download
M src/compiler/preprocessor/new/ExpressionParser.cpp View 1 2 3 4 6 chunks +18 lines, -7 lines 0 comments Download
M src/compiler/preprocessor/new/ExpressionParser.y View 1 2 3 4 5 chunks +15 lines, -4 lines 0 comments Download
M tests/build_tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A tests/preprocessor_tests/if_test.cpp View 1 2 3 4 5 6 1 chunk +765 lines, -0 lines 0 comments Download

Messages

Total messages: 3
Alok Priyadarshi
11 years, 10 months ago (2012-06-25 22:18:14 UTC) #1
kbr1
LGTM overall. Very nice. Couple of minor comments and suggestions. http://codereview.appspot.com/6333046/diff/7006/tests/preprocessor_tests/if_test.cpp File tests/preprocessor_tests/if_test.cpp (right): http://codereview.appspot.com/6333046/diff/7006/tests/preprocessor_tests/if_test.cpp#newcode209 ...
11 years, 10 months ago (2012-06-26 02:33:38 UTC) #2
Alok Priyadarshi
11 years, 10 months ago (2012-06-26 04:37:20 UTC) #3
http://codereview.appspot.com/6333046/diff/7006/tests/preprocessor_tests/if_t...
File tests/preprocessor_tests/if_test.cpp (right):

http://codereview.appspot.com/6333046/diff/7006/tests/preprocessor_tests/if_t...
tests/preprocessor_tests/if_test.cpp:209: "#if 1\n"
On 2012/06/26 02:33:38, kbr1 wrote:
> Is it worth testing nesting one more level deep? If not -- if it won't add
code
> coverage -- that's fine.

It will not increase coverage with the way things are implemented right now.

http://codereview.appspot.com/6333046/diff/7006/tests/preprocessor_tests/if_t...
tests/preprocessor_tests/if_test.cpp:527: "foo !@#$%^&* .1bar\n"
On 2012/06/26 02:33:38, kbr1 wrote:
> How about testing broken preprocessor directives inside an excluded block?

Yes good idea. This will increase coverage. DONE.
Sign in to reply to this message.

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