[all-commits] [llvm/llvm-project] 8178a5: [VFS] Fix Wreturn-type gcc warning (NFC)

nullptr-cpp via All-commits all-commits at lists.llvm.org
Tue Feb 2 18:24:12 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8178a55b25704e150edf4c595a4283bc757c8fb8
      https://github.com/llvm/llvm-project/commit/8178a55b25704e150edf4c595a4283bc757c8fb8
  Author: Yang Fan <nullptr.cpp at gmail.com>
  Date:   2021-02-03 (Wed, 03 Feb 2021)

  Changed paths:
    M llvm/include/llvm/Support/VirtualFileSystem.h

  Log Message:
  -----------
  [VFS] Fix Wreturn-type gcc warning (NFC)

GCC warning:
```
In file included from /llvm-project/llvm/lib/Support/VirtualFileSystem.cpp:13:
/llvm-project/llvm/include/llvm/Support/VirtualFileSystem.h: In static member function ‘static bool llvm::vfs::RedirectingFileSystem::RemapEntry::classof(const llvm::vfs::RedirectingFileSystem::Entry*)’:
/llvm-project/llvm/include/llvm/Support/VirtualFileSystem.h:681:5: warning: control reaches end of non-void function [-Wreturn-type]
  681 |     }
      |     ^
```




More information about the All-commits mailing list