| Last change
 on this file since b262cb3 was             8984003, checked in by Andrew Beach <ajbeach@…>, 2 years ago | 
        
          | 
Round of significant clean-up and reindentation of InitTweak directory.
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            918 bytes | 
      
      
| Rev | Line |  | 
|---|
| [711eee5] | 1 | // | 
|---|
|  | 2 | // Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo | 
|---|
|  | 3 | // | 
|---|
|  | 4 | // The contents of this file are covered under the licence agreement in the | 
|---|
|  | 5 | // file "LICENCE" distributed with Cforall. | 
|---|
|  | 6 | // | 
|---|
|  | 7 | // FixGlobalInit.h -- | 
|---|
|  | 8 | // | 
|---|
|  | 9 | // Author           : Rob Schluntz | 
|---|
|  | 10 | // Created On       : Mon May 04 15:14:56 2016 | 
|---|
| [6b0b624] | 11 | // Last Modified By : Peter A. Buhr | 
|---|
|  | 12 | // Last Modified On : Sat Jul 22 09:30:54 2017 | 
|---|
|  | 13 | // Update Count     : 3 | 
|---|
| [711eee5] | 14 | // | 
|---|
|  | 15 |  | 
|---|
| [6b0b624] | 16 | #pragma once | 
|---|
| [711eee5] | 17 |  | 
|---|
| [8984003] | 18 | namespace ast { | 
|---|
|  | 19 | class TranslationUnit; | 
|---|
|  | 20 | } | 
|---|
| [490fb92e] | 21 |  | 
|---|
| [8984003] | 22 | namespace InitTweak { | 
|---|
| [490fb92e] | 23 |  | 
|---|
| [8984003] | 24 | /// Moves global initialization into an _init function that is unique to the translation unit. | 
|---|
|  | 25 | /// Sets the priority of the initialization function depending on whether the initialization | 
|---|
|  | 26 | /// function is for library code. | 
|---|
|  | 27 | void fixGlobalInit( ast::TranslationUnit & translationUnit, bool inLibrary ); | 
|---|
| [711eee5] | 28 |  | 
|---|
|  | 29 | } // namespace | 
|---|
|  | 30 |  | 
|---|
|  | 31 | // Local Variables: // | 
|---|
|  | 32 | // tab-width: 4 // | 
|---|
|  | 33 | // mode: c++ // | 
|---|
|  | 34 | // compile-command: "make install" // | 
|---|
|  | 35 | // End: // | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.