[llvm] fcb3a04 - [analyzer] Add missing include <unordered_map> to llvm/lib/Support/Z3Solver.cpp (#106410)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 29 03:09:10 PDT 2024
Author: Luke Shingles
Date: 2024-08-29T06:09:07-04:00
New Revision: fcb3a0485857c749d04ea234a8c3d629c62ab211
URL: https://github.com/llvm/llvm-project/commit/fcb3a0485857c749d04ea234a8c3d629c62ab211
DIFF: https://github.com/llvm/llvm-project/commit/fcb3a0485857c749d04ea234a8c3d629c62ab211.diff
LOG: [analyzer] Add missing include <unordered_map> to llvm/lib/Support/Z3Solver.cpp (#106410)
Resolves #106361. Adding #include <unordered_map> to
llvm/lib/Support/Z3Solver.cpp fixes compilation errors for homebrew
build on macOS with Xcode 14.
https://github.com/Homebrew/homebrew-core/actions/runs/10604291631/job/29390993615?pr=181351
shows that this is resolved when the include is patched in (Linux CI
failure is due to unrelated timeout).
Added:
Modified:
llvm/lib/Support/Z3Solver.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Support/Z3Solver.cpp b/llvm/lib/Support/Z3Solver.cpp
index 5a34ff160f6cf4..9aece099b06295 100644
--- a/llvm/lib/Support/Z3Solver.cpp
+++ b/llvm/lib/Support/Z3Solver.cpp
@@ -19,6 +19,7 @@ using namespace llvm;
#include "llvm/ADT/Twine.h"
#include <set>
+#include <unordered_map>
#include <z3.h>
More information about the llvm-commits
mailing list