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

Issue 2323273004: Revert of clang plugin: Compute absolute paths on Windows as well. (Closed)

Created:
4 years, 3 months ago by hans
Modified:
4 years, 3 months ago
Reviewers:
Nico, dcheng
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of clang plugin: Compute absolute paths on Windows as well. (patchset #6 id:100001 of https://codereview.chromium.org/2318733002/ ) Reason for revert: The bots are sad. From https://build.chromium.org/p/chromium.fyi/builders/ClangToTLinux%20%28dbg%29/builds/4060/steps/gclient%20runhooks/logs/stdio /b/c/b/ClangToTLinux__dbg_/src/tools/clang/plugins/ChromeClassTester.cpp: In member function ‘bool ChromeClassTester::InBannedDirectory(clang::SourceLocation)’: /b/c/b/ClangToTLinux__dbg_/src/tools/clang/plugins/ChromeClassTester.cpp:129:41: error: ‘resolvedPath’ was not declared in this scope } else if (realpath(filename.c_str(), resolvedPath)) { ^ /b/c/b/ClangToTLinux__dbg_/src/tools/clang/plugins/ChromeClassTester.cpp:130:33: error: redeclaration of ‘char resolvedPath [4096]’ char resolvedPath[MAXPATHLEN]; ^ /b/c/b/ClangToTLinux__dbg_/src/tools/clang/plugins/ChromeClassTester.cpp:129:41: error: ‘<typeprefixerror>resolvedPath’ previously declared here } else if (realpath(filename.c_str(), resolvedPath)) { ^ Original issue's description: > clang plugin: Compute absolute paths on Windows as well. > > The motivation is to suppress diagnostics on the v8 bot, > which have "v8" somewhere on the path, but not in the > filename segments the compiler sees. This makes the > behavior on Windows match the behavior on non-Windows. > > BUG=644096 > NOTRY=true > > Committed: https://crrev.com/df0eb747fca2699d116ad80d0ccbd967317fdbd4 > Cr-Commit-Position: refs/heads/master@{#417701} TBR=dcheng@chromium.org,thakis@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=644096 Committed: https://crrev.com/4b850c5bf7d78377cc2e0b00097f9d9947bbdfb5 Cr-Commit-Position: refs/heads/master@{#417762}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -28 lines) Patch
M tools/clang/plugins/ChromeClassTester.cpp View 2 chunks +10 lines, -28 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
hans
Created Revert of clang plugin: Compute absolute paths on Windows as well.
4 years, 3 months ago (2016-09-09 23:27:14 UTC) #2
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/2323273004/1
4 years, 3 months ago (2016-09-09 23:27:44 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-09 23:28:34 UTC) #5
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/4b850c5bf7d78377cc2e0b00097f9d9947bbdfb5 Cr-Commit-Position: refs/heads/master@{#417762}
4 years, 3 months ago (2016-09-09 23:30:57 UTC) #7
Nico
4 years, 3 months ago (2016-09-09 23:31:29 UTC) #8
Message was sent while issue was closed.
Bleh, I carefully tested this -- on Windows. Should've omitted the unrelated
change on non-Windows (which was wrong). Thanks for the revert, will reland
soon.

Powered by Google App Engine
This is Rietveld 408576698