[clang] 1803d67 - [Driver] Add missing include of std::set.
Florian Hahn via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 6 06:56:50 PDT 2024
Author: Florian Hahn
Date: 2024-04-06T14:56:35+01:00
New Revision: 1803d675004bb512051d2df7e1ae3ea95692fc67
URL: https://github.com/llvm/llvm-project/commit/1803d675004bb512051d2df7e1ae3ea95692fc67
DIFF: https://github.com/llvm/llvm-project/commit/1803d675004bb512051d2df7e1ae3ea95692fc67.diff
LOG: [Driver] Add missing include of std::set.
4ddd4ed7fe15a added a use of std::set without including it. With some
recent libc++, std::set isn't included transitively causing build
failures.
Add explicit include.
Added:
Modified:
clang/lib/Driver/ToolChains/AIX.cpp
Removed:
################################################################################
diff --git a/clang/lib/Driver/ToolChains/AIX.cpp b/clang/lib/Driver/ToolChains/AIX.cpp
index 7a62b0f9aec419..3f10888596a29a 100644
--- a/clang/lib/Driver/ToolChains/AIX.cpp
+++ b/clang/lib/Driver/ToolChains/AIX.cpp
@@ -17,6 +17,8 @@
#include "llvm/ProfileData/InstrProf.h"
#include "llvm/Support/Path.h"
+#include <set>
+
using AIX = clang::driver::toolchains::AIX;
using namespace clang::driver;
using namespace clang::driver::tools;
More information about the cfe-commits
mailing list