[llvm] 49556b8 - [NFC][VFS] Fix a build warning due to an extra semicolon

Yang Fan via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 29 22:53:15 PST 2021


Author: Yang Fan
Date: 2021-01-30T14:52:43+08:00
New Revision: 49556b87ae9b85b883b9b8be432a6f6a769d6021

URL: https://github.com/llvm/llvm-project/commit/49556b87ae9b85b883b9b8be432a6f6a769d6021
DIFF: https://github.com/llvm/llvm-project/commit/49556b87ae9b85b883b9b8be432a6f6a769d6021.diff

LOG: [NFC][VFS] Fix a build warning due to an extra semicolon

Added: 
    

Modified: 
    llvm/lib/Support/VirtualFileSystem.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Support/VirtualFileSystem.cpp b/llvm/lib/Support/VirtualFileSystem.cpp
index af1a5eb683f0..d231385dc473 100644
--- a/llvm/lib/Support/VirtualFileSystem.cpp
+++ b/llvm/lib/Support/VirtualFileSystem.cpp
@@ -1758,7 +1758,7 @@ std::unique_ptr<RedirectingFileSystem> RedirectingFileSystem::create(
 bool RedirectingFileSystem::shouldFallBackToExternalFS(
     std::error_code EC) const {
   return shouldUseExternalFS() && EC == llvm::errc::no_such_file_or_directory;
-};
+}
 
 std::error_code
 RedirectingFileSystem::makeCanonical(SmallVectorImpl<char> &Path) const {


        


More information about the llvm-commits mailing list