[llvm] b7292f2 - Speculative GCC 5 build fix

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 30 07:13:13 PDT 2020


Author: Hans Wennborg
Date: 2020-07-30T16:12:52+02:00
New Revision: b7292f2db02d37c9291afc0613a3fbce0a4ad4e8

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

LOG: Speculative GCC 5 build fix

It's complaining about specializing the template in a different namespace.

Added: 
    

Modified: 
    llvm/lib/Target/WebAssembly/WebAssemblySortRegion.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/WebAssembly/WebAssemblySortRegion.cpp b/llvm/lib/Target/WebAssembly/WebAssemblySortRegion.cpp
index 475f9120f7b2..6b3957e3ec55 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblySortRegion.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblySortRegion.cpp
@@ -5,7 +5,8 @@
 using namespace llvm;
 using namespace WebAssembly;
 
-template <> bool ConcreteSortRegion<MachineLoop>::isLoop() const {
+template <>
+bool llvm::WebAssembly::ConcreteSortRegion<MachineLoop>::isLoop() const {
   return true;
 }
 


        


More information about the llvm-commits mailing list