File tree Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Original file line number Diff line number Diff line change @@ -409,31 +409,7 @@ std::string getSwiftFullVersion(Version effectiveVersion) {
409409  OS << SWIFT_VENDOR "  "  ;
410410#endif 
411411
412-   OS << " Swift version "   SWIFT_VERSION_STRING;
413- #ifndef  SWIFT_COMPILER_VERSION
414-   OS << " -dev"  ;
415- #endif 
416- 
417-   if  (!(effectiveVersion == Version::getCurrentLanguageVersion ())) {
418-     OS << "  effective-"   << effectiveVersion;
419-   }
420- 
421- #if  defined(SWIFT_COMPILER_VERSION)
422-   OS << "  (swiftlang-"   SWIFT_COMPILER_VERSION;
423- #if  defined(CLANG_COMPILER_VERSION)
424-   OS << "  clang-"   CLANG_COMPILER_VERSION;
425- #endif 
426-   OS << " )"  ;
427- #elif  defined(LLVM_REVISION) || defined(CLANG_REVISION) || \
428-       defined (SWIFT_REVISION)
429-   OS << "  ("  ;
430-   printFullRevisionString (OS);
431-   OS << " )"  ;
432- #endif 
433- 
434-   //  Suppress unused function warning
435-   (void )&printFullRevisionString;
436- 
412+   OS << " Swift version "   SWIFT_VERSION_STRING "  (swift-5.0.2-RELEASE)"  ;
437413  return  OS.str ();
438414}
439415
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments