File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -2828,9 +2828,13 @@ namespace Cpp {
28282828#define  DEBUG_TYPE  " exec" 
28292829
28302830    std::array<char , 256 > buffer;
2831+     #if  defined(__GNUC__)
28312832    #pragma  GCC diagnostic ignored "-Wignored-attributes"
2833+     #endif 
28322834    std::unique_ptr<FILE, decltype (&pclose)> pipe (popen (cmd, " r"  ), pclose);
2835+     #if  defined(__GNUC__)
28332836    #pragma  GCC diagnostic pop
2837+     #endif 
28342838    LLVM_DEBUG (dbgs () << " Executing command '"   << cmd << " '\n "  );
28352839
28362840    if  (!pipe) {
@@ -3439,9 +3443,13 @@ namespace Cpp {
34393443  }
34403444
34413445  class  StreamCaptureInfo  {
3446+     #if  defined(__GNUC__)
34423447    #pragma  GCC diagnostic ignored "-Wignored-attributes"
3448+     #endif 
34433449    std::unique_ptr<FILE, decltype (std::fclose)*> m_TempFile;
3450+     #if  defined(__GNUC__)
34443451    #pragma  GCC diagnostic pop
3452+     #endif 
34453453    int  m_FD = -1 ;
34463454    int  m_DupFD = -1 ;
34473455
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments