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

Side by Side Diff: tools/check-inline-includes.sh

Issue 1283033003: Remove inline header includes from non-inline headers (1). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix GCC for realz. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/cctest/test-regexp.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2 # Copyright 2015 the V8 project authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 v8_root=$(readlink -f $(dirname $BASH_SOURCE)/../)
7 headers=$(find "$v8_root/src" -name '*.h' -not -name '*-inl.h')
8
9 for header in $headers; do
10 inline_header_include=$(grep '#include ".*-inl.h"' "$header")
11 if [ -n "$inline_header_include" ]; then
12 echo "The following non-inline header seems to include an inline header:"
13 echo " Header : $header"
14 echo " Include: $inline_header_include"
15 echo
16 fi
17 done
18
19 echo "Kthxbye."
OLDNEW
« no previous file with comments | « test/cctest/test-regexp.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698