Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/LinkageSpec.h

    r41e8217 r13073be  
    1010// Created On       : Sat May 16 13:24:28 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Jul  2 07:46:49 2018
    13 // Update Count     : 16
     12// Last Modified On : Sat Jul 22 09:32:16 2017
     13// Update Count     : 14
    1414//
    1515
     
    2222namespace LinkageSpec {
    2323        // All linkage specs are some combination of these flags:
    24         enum { Mangle = 1 << 0, Generate = 1 << 1, Overrideable = 1 << 2, Builtin = 1 << 3, GccBuiltin = 1 << 4, NoOfSpecs = 1 << 5, };
     24        enum {
     25                Mangle = 1 << 0,
     26                Generate = 1 << 1,
     27                Overrideable = 1 << 2,
     28                Builtin = 1 << 3,
     29                GccBuiltin = 1 << 4,
     30
     31                NoOfSpecs = 1 << 5,
     32        };
    2533
    2634        union Spec {
     
    3442                };
    3543                constexpr Spec( unsigned int val ) : val( val ) {}
    36                 constexpr Spec( Spec const & other ) : val( other.val ) {}
     44                constexpr Spec( Spec const &other ) : val( other.val ) {}
    3745                // Operators may go here.
    3846                // Supports == and !=
    39                 constexpr operator unsigned int() const { return val; }
     47                constexpr operator unsigned int () const { return val; }
    4048        };
    4149
Note: See TracChangeset for help on using the changeset viewer.