CloneSet27


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
24201.000selection_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
124506
InclusionConstraintGraph/Type.h
224604
InclusionConstraintGraph/Type.h
Clone Instance
1
Line Count
24
Source Line
506
Source File
InclusionConstraintGraph/Type.h

                                        switch (type[index]) {
                                                case L'c': {
                                                        index++;
                                                        if (type[index] == L'v') {
                                                                index++;
                                                                qualifiers = Qualifiers::ConstantVolatile;
                                                                                 }
                                                        else   {
                                                                qualifiers = Qualifiers::Constant;
                                                               }
                                                        break;
                                                           }
                                                case L'v': {
                                                        index++;
                                                        if (type[index] == L'c') {
                                                                index++;
                                                                qualifiers = Qualifiers::ConstantVolatile;
                                                                                 }
                                                        else   {
                                                                qualifiers = Qualifiers::Volatile;
                                                               }
                                                        break;
                                                           }
                                                default: {
                                                        qualifiers = Qualifiers::None;
                                                        break;
                                                         }
                                                             }


Clone Instance
2
Line Count
24
Source Line
604
Source File
InclusionConstraintGraph/Type.h

                                                switch (type[index]) {
                                                        case L'c': {
                                                                index++;
                                                                if (type[index] == L'v') {
                                                                        index++;
                                                                        qualifiers = Qualifiers::ConstantVolatile;
                                                                                         }
                                                                else   {
                                                                        qualifiers = Qualifiers::Constant;
                                                                       }
                                                                break;
                                                                   }
                                                        case L'v': {
                                                                index++;
                                                                if (type[index] == L'c') {
                                                                        index++;
                                                                        qualifiers = Qualifiers::ConstantVolatile;
                                                                                         }
                                                                else   {
                                                                        qualifiers = Qualifiers::Volatile;
                                                                       }
                                                                break;
                                                                   }
                                                        default: {
                                                                qualifiers = Qualifiers::None;
                                                                break;
                                                                 }
                                                                     }


Clone AbstractionParameter Count: 0Parameter Bindings

switch (type[index])
  {
    case L'c':
      {
        index++;
        if (type[index] == L'v')
          {
            index++;
            qualifiers = Qualifiers::ConstantVolatile;
          }
        else
          {
            qualifiers = Qualifiers::Constant;
          }
        break;
      }
    case L'v':
      {
        index++;
        if (type[index] == L'c')
          {
            index++;
            qualifiers = Qualifiers::ConstantVolatile;
          }
        else
          {
            qualifiers = Qualifiers::Volatile;
          }
        break;
      }
    default:
      {
        qualifiers = Qualifiers::None;
        break;
      }
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None