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

Issue 3038036: Add a PRESUBMIT check for header files that are missing the |#pragma once| directive. (Closed)

Created:
10 years, 4 months ago by Robert Sesek
Modified:
9 years, 7 months ago
Reviewers:
Nico, M-A Ruel
CC:
chromium-reviews
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

Add a PRESUBMIT check for header files that are missing the |#pragma once| directive. BUG=none TEST=Have a change with a .h that doens't have a |#pragma once|. Get a warning.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -0 lines) Patch
M PRESUBMIT.py View 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Robert Sesek
10 years, 4 months ago (2010-07-29 15:07:42 UTC) #1
Nico
10 years, 4 months ago (2010-07-29 15:45:04 UTC) #2
Hrm, I was thinking of reverting this pragma thing, it doesn't seem to help
(incredibuild does file system virutalization and uses stock msvc for
compilation, so it should mostly have the same perf characteristics as local
builds I think.) haven't thought this through yet tho

Powered by Google App Engine
This is Rietveld 408576698