From e0c702bbe85a42e98ca227dbcf6f9267c7a7aea7 Mon Sep 17 00:00:00 2001
From: James Y Knight <jyknight@google.com>
Date: Thu, 31 Jan 2019 21:21:57 +0000
Subject: [PATCH] Fix compilation error with GCC after r352791.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352795 91177308-0d34-0410-b5e6-96231b3b80d8
---
 include/llvm/IR/DerivedTypes.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/llvm/IR/DerivedTypes.h b/include/llvm/IR/DerivedTypes.h
index ebd4d8ad776..afea34d7d7a 100644
--- a/include/llvm/IR/DerivedTypes.h
+++ b/include/llvm/IR/DerivedTypes.h
@@ -166,7 +166,7 @@ public:
   // Allow implicit conversion from types which have a getFunctionType member
   // (e.g. Function and InlineAsm).
   template <typename T,
-            typename U = std::enable_if<&T::getFunctionType != nullptr, void>>
+            typename U = std::enable_if<(&T::getFunctionType != nullptr), void>>
   FunctionCallee(T *Fn)
       : FnTy(Fn ? Fn->getFunctionType() : nullptr), Callee(Fn) {}
 
-- 
2.40.0