Ignore:
Timestamp:
Sep 28, 2016, 1:10:35 AM (9 years ago)
Author:
[email protected]
Message:

Adopt #pragma once in JavaScriptCore
https://bugs.webkit.org/show_bug.cgi?id=162664

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2016-09-28
Reviewed by Saam Barati.

  • /.h:

Adopt pragma once in all but API headers and generated headers.
Include some namespace closing comments for consistency.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/parser/ParserModes.h

    r206333 r206506  
    2424 */
    2525
    26 
    27 #ifndef ParserModes_h
    28 #define ParserModes_h
     26#pragma once
    2927
    3028#include "ConstructAbility.h"
     
    226224const InnerArrowFunctionCodeFeatures AllInnerArrowFunctionCodeFeatures = EvalInnerArrowFunctionFeature | ArgumentsInnerArrowFunctionFeature | ThisInnerArrowFunctionFeature | SuperCallInnerArrowFunctionFeature | SuperPropertyInnerArrowFunctionFeature | NewTargetInnerArrowFunctionFeature;
    227225} // namespace JSC
    228 
    229 #endif // ParserModes_h
Note: See TracChangeset for help on using the changeset viewer.