[compiler-rt] 4961bb4 - [gwp_asan] Add missing <algorithm> include

Gulfem Savrun Yeniceri via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 18 17:15:18 PST 2022


Author: Gulfem Savrun Yeniceri
Date: 2022-02-19T01:14:14Z
New Revision: 4961bb477d0526a7b965609cd42d44caa8413d45

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

LOG: [gwp_asan] Add missing <algorithm> include

After https://reviews.llvm.org/D119667, <algorithm> is no longer
transitively included from various headers. This patch adds the
<algorithm> include into gwp_asan.

Differential Revision: https://reviews.llvm.org/D120172

Added: 
    

Modified: 
    compiler-rt/lib/gwp_asan/tests/iterate.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/gwp_asan/tests/iterate.cpp b/compiler-rt/lib/gwp_asan/tests/iterate.cpp
index 2b8635d5b36d..49953f33abf8 100644
--- a/compiler-rt/lib/gwp_asan/tests/iterate.cpp
+++ b/compiler-rt/lib/gwp_asan/tests/iterate.cpp
@@ -8,6 +8,7 @@
 
 #include "gwp_asan/tests/harness.h"
 
+#include <algorithm>
 #include <set>
 #include <vector>
 


        


More information about the llvm-commits mailing list