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

Issue 1202253002: Includes module header first. (Closed)

Created:
5 years, 6 months ago by John
Modified:
5 years, 6 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Includes module header first. This "include module header first" is part of the llvm style guide. This change exposes "broken" headers that were accessing undefined types, or even using types without forward declaring them. BUG= R=stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=67f8de9adf6439881a00d8e0f081918436c71f62

Patch Set 1 #

Total comments: 5

Patch Set 2 : Changes All Subzero includes to match LLVM style guide. #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -124 lines) Patch
M src/IceAssembler.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/IceAssemblerX8632.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/IceBrowserCompileServer.h View 1 1 chunk +3 lines, -4 lines 2 comments Download
M src/IceBrowserCompileServer.cpp View 1 1 chunk +3 lines, -4 lines 0 comments Download
M src/IceCfg.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M src/IceCfgNode.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M src/IceClFlags.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/IceClFlagsExtra.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/IceCompileServer.cpp View 1 1 chunk +8 lines, -9 lines 0 comments Download
M src/IceCompiler.cpp View 1 1 chunk +8 lines, -7 lines 0 comments Download
M src/IceConverter.cpp View 1 2 chunks +9 lines, -10 lines 0 comments Download
M src/IceDefs.h View 1 2 chunks +13 lines, -13 lines 0 comments Download
M src/IceELFObjectWriter.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/IceELFSection.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/IceFixups.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/IceGlobalContext.h View 1 2 chunks +7 lines, -7 lines 0 comments Download
M src/IceGlobalContext.cpp View 1 1 chunk +7 lines, -6 lines 0 comments Download
M src/IceGlobalInits.h View 1 1 chunk +5 lines, -5 lines 0 comments Download
M src/IceGlobalInits.cpp View 1 1 chunk +5 lines, -4 lines 0 comments Download
M src/IceInst.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M src/IceInstARM32.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M src/IceInstX8632.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M src/IceIntrinsics.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M src/IceLiveness.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/IceLiveness.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M src/IceOperand.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M src/IceRNG.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/IceRNG.cpp View 1 chunk +2 lines, -2 lines 2 comments Download
M src/IceRegAlloc.cpp View 1 chunk +2 lines, -1 line 2 comments Download
M src/IceTargetLowering.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M src/IceTargetLoweringARM32.cpp View 2 chunks +2 lines, -1 line 2 comments Download
M src/IceTargetLoweringMIPS32.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/IceTargetLoweringX86Base.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/IceTargetLoweringX86BaseImpl.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M src/IceThreading.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/IceThreading.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M src/IceTimerTree.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/IceTimerTree.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/IceTranslator.h View 1 1 chunk +4 lines, -1 line 0 comments Download
M src/IceTranslator.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M src/IceTypeConverter.h View 1 2 chunks +3 lines, -4 lines 0 comments Download
M src/IceTypeConverter.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/IceTypes.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/IceTypes.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M src/IceUtils.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/PNaClTranslator.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/PNaClTranslator.cpp View 1 2 chunks +10 lines, -10 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
John
5 years, 6 months ago (2015-06-23 22:24:22 UTC) #2
Jim Stichnoth
lgtm https://codereview.chromium.org/1202253002/diff/1/src/IceBrowserCompileServer.cpp File src/IceBrowserCompileServer.cpp (right): https://codereview.chromium.org/1202253002/diff/1/src/IceBrowserCompileServer.cpp#newcode20 src/IceBrowserCompileServer.cpp:20: #include <cstring> I just became aware of http://llvm.org/docs/CodingStandards.html#include-style ...
5 years, 6 months ago (2015-06-23 23:05:04 UTC) #3
John
Please take another look. https://codereview.chromium.org/1202253002/diff/1/src/IceBrowserCompileServer.cpp File src/IceBrowserCompileServer.cpp (right): https://codereview.chromium.org/1202253002/diff/1/src/IceBrowserCompileServer.cpp#newcode20 src/IceBrowserCompileServer.cpp:20: #include <cstring> On 2015/06/23 23:05:04, ...
5 years, 6 months ago (2015-06-23 23:57:09 UTC) #4
Jim Stichnoth
lgtm https://codereview.chromium.org/1202253002/diff/20001/src/IceBrowserCompileServer.h File src/IceBrowserCompileServer.h (right): https://codereview.chromium.org/1202253002/diff/20001/src/IceBrowserCompileServer.h#newcode22 src/IceBrowserCompileServer.h:22: #include <atomic> Separate each section with a blank ...
5 years, 6 months ago (2015-06-24 21:35:33 UTC) #5
John
As per lgtm, landing. https://codereview.chromium.org/1202253002/diff/20001/src/IceBrowserCompileServer.h File src/IceBrowserCompileServer.h (right): https://codereview.chromium.org/1202253002/diff/20001/src/IceBrowserCompileServer.h#newcode22 src/IceBrowserCompileServer.h:22: #include <atomic> On 2015/06/24 21:35:33, ...
5 years, 6 months ago (2015-06-25 17:13:12 UTC) #6
John
5 years, 6 months ago (2015-06-25 17:14:23 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
67f8de9adf6439881a00d8e0f081918436c71f62 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698