xiangzhai / dragonegg

DragonEgg has been migrated to GCC 8 and LLVM 6 but also able to work for GCC 4.8 and LLVM 3.3
https://gcc.gnu.org/ml/gcc/2017-08/msg00245.html
GNU General Public License v2.0
18 stars 6 forks source link

Migrate TargetFolder copy constructor #9

Open xiangzhai opened 7 years ago

xiangzhai commented 7 years ago

for example:

// Copy assignment operator.                                                      
  FieldContents &operator=(const FieldContents & other) {                           
    R = other.R;                                                                    
    C = other.C;                                                                    
    Starts = other.Starts;                                                          
#if LLVM_VERSION_CODE < LLVM_VERSION(3, 9)                                          
    Folder = other.Folder;                                                          
#endif                                                                              
    return *this;                                                                   
  }