Changeset 162127 in webkit


Ignore:
Timestamp:
Jan 16, 2014 7:07:17 AM (10 years ago)
Author:
commit-queue@webkit.org
Message:

Fix unnecessary checks for Clang compiler if the compiler is MSVC.
https://bugs.webkit.org/show_bug.cgi?id=127037

Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2014-01-16
Reviewed by Csaba Osztrogonác.

Inside the #if defined(_MSC_VER) there's no need for checking whether the compiler is not Clang.

  • wtf/Compiler.h:
Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r162126 r162127  
     12014-01-16  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
     2
     3        Fix unnecessary checks for Clang compiler if the compiler is MSVC.
     4        https://bugs.webkit.org/show_bug.cgi?id=127037
     5
     6        Reviewed by Csaba Osztrogonác.
     7
     8        Inside the #if defined(_MSC_VER) there's no need for checking whether the compiler is not Clang.
     9
     10        * wtf/Compiler.h:
     11
    1122014-01-16  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
    213
  • trunk/Source/WTF/wtf/Compiler.h

    r162126 r162127  
    6767
    6868/* Specific compiler features */
    69 #if !COMPILER(CLANG)
    7069#define WTF_COMPILER_SUPPORTS_CXX_NULLPTR 1
    71 #endif
    72 
    73 #if !COMPILER(CLANG)
    7470#define WTF_COMPILER_SUPPORTS_CXX_OVERRIDE_CONTROL 1
    75 #endif
    76 
    7771#define WTF_COMPILER_SUPPORTS_CXX_RVALUE_REFERENCES 1
    7872#define WTF_COMPILER_SUPPORTS_CXX_STATIC_ASSERT 1
Note: See TracChangeset for help on using the changeset viewer.