Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(426)

Issue 2256913002: Handling of DependentScopeDeclRefExpr and CXXDependentScopeMemberExpr nodes. (Closed)

Created:
4 years, 4 months ago by Łukasz Anforowicz
Modified:
4 years ago
Reviewers:
dcheng
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@blink-style-new-clang
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Handling of DependentScopeDeclRefExpr and CXXDependentScopeMemberExpr nodes. BUG=582315 Committed: https://crrev.com/1e1f3d0f63447b5c8c2fbccf7f37e39b70305961 Cr-Commit-Position: refs/heads/master@{#435654}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Avoid renaming std::type_trait_foo<T>::value to Value. #

Patch Set 3 : Improved heuristics for method-call-VS-static-field-access. #

Patch Set 4 : Rebasing on top of https://crrev.com/2274653002 #

Patch Set 5 : Rebasing... #

Total comments: 2

Patch Set 6 : Avoid rewriting method name in: this->SkCanvas::onDrawRect. #

Patch Set 7 : Replace hasQualifierPresentAndMatching(...) with has(nestedNameSpecifier(...)) #

Patch Set 8 : Avoiding "renaming" template-dependent operator names. #

Patch Set 9 : Making sure |blink_qual_type_matcher| handles ElaboratedType nodes. #

Patch Set 10 : Rebasing... #

Patch Set 11 : Adding IsCallee function here. #

Patch Set 12 : Added a regression test that shows the necessity of IsCallee function. #

Total comments: 10

Patch Set 13 : Regression test for nonBlinkObject->BlinkClass::method() case. #

Patch Set 14 : Make GuessNameForUnresolvedDependentNode and GetNameForDecl more similar. #

Total comments: 4

Patch Set 15 : Passing old_name + git cl format #

Patch Set 16 : Tweaked a comment + fixed a typo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+439 lines, -21 lines) Patch
M tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 9 chunks +182 lines, -8 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +8 lines, -0 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/fields-original.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +8 lines, -0 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/function-templates-expected.cc View 1 2 3 4 5 6 7 8 2 chunks +23 lines, -9 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/function-templates-original.cc View 1 2 3 4 5 6 7 8 2 chunks +18 lines, -4 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/template-expected.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +100 lines, -0 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/template-original.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +100 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 16 (6 generated)
Łukasz Anforowicz
Daniel, can you take a look please? https://codereview.chromium.org/2256913002/diff/1/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (left): https://codereview.chromium.org/2256913002/diff/1/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#oldcode441 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:441: static const ...
4 years, 4 months ago (2016-08-17 22:45:09 UTC) #2
Łukasz Anforowicz
Daniel, can you take a look please? I think this CL is now really ready ...
4 years, 4 months ago (2016-08-23 20:49:39 UTC) #4
Łukasz Anforowicz
https://codereview.chromium.org/2256913002/diff/80001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/2256913002/diff/80001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode1082 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:1082: anyOf(pointsTo(in_blink_namespace), references(in_blink_namespace), This strips only 1 layer of indirection, ...
4 years, 3 months ago (2016-08-25 18:11:14 UTC) #5
dcheng
https://codereview.chromium.org/2256913002/diff/220001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/2256913002/diff/220001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode182 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:182: return !base_expr || InnerMatcher.matches(*base_expr, Finder, Builder); What's an implicit ...
4 years ago (2016-11-30 05:55:53 UTC) #6
Łukasz Anforowicz
https://codereview.chromium.org/2256913002/diff/220001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/2256913002/diff/220001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode182 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:182: return !base_expr || InnerMatcher.matches(*base_expr, Finder, Builder); On 2016/11/30 05:55:52, ...
4 years ago (2016-11-30 23:26:53 UTC) #7
dcheng
lgtm https://codereview.chromium.org/2256913002/diff/220001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/2256913002/diff/220001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode182 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:182: return !base_expr || InnerMatcher.matches(*base_expr, Finder, Builder); On 2016/11/30 ...
4 years ago (2016-12-01 07:15:06 UTC) #8
Łukasz Anforowicz
Thanks for the review. https://codereview.chromium.org/2256913002/diff/220001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/2256913002/diff/220001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode182 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:182: return !base_expr || InnerMatcher.matches(*base_expr, Finder, ...
4 years ago (2016-12-01 18:26:57 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2256913002/300001
4 years ago (2016-12-01 18:27:30 UTC) #12
commit-bot: I haz the power
Committed patchset #16 (id:300001)
4 years ago (2016-12-01 18:37:06 UTC) #14
commit-bot: I haz the power
4 years ago (2016-12-01 18:39:09 UTC) #16
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/1e1f3d0f63447b5c8c2fbccf7f37e39b70305961
Cr-Commit-Position: refs/heads/master@{#435654}

Powered by Google App Engine
This is Rietveld 408576698