[llvm] c918c1a - [NFCi] Fixing build failures on Windows due to std::tie used w/o proper include.

Puyan Lotfi via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 26 16:36:41 PDT 2020


Author: Puyan Lotfi
Date: 2020-06-26T16:30:25-07:00
New Revision: c918c1a91a03f612c1b1e81b82460fbf80fc592a

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

LOG: [NFCi] Fixing build failures on Windows due to std::tie used w/o proper include.

>From https://reviews.llvm.org/D81236 /
https://github.com/llvm/llvm-project/commit/55fe7b79bb7fab49af3720840224c0720bdb03c6

std::tie is used without including <tuple>. This patch includes <tuple>
so that some downstream Windows bots succesfully build.

Added: 
    

Modified: 
    llvm/include/llvm/PassAnalysisSupport.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/PassAnalysisSupport.h b/llvm/include/llvm/PassAnalysisSupport.h
index d85a82e2cdde..84df171d38d8 100644
--- a/llvm/include/llvm/PassAnalysisSupport.h
+++ b/llvm/include/llvm/PassAnalysisSupport.h
@@ -24,6 +24,7 @@
 
 #include "llvm/ADT/SmallVector.h"
 #include <cassert>
+#include <tuple>
 #include <utility>
 #include <vector>
 


        


More information about the llvm-commits mailing list