Skip to content

Commit 60e6635

Browse files
authored
Merge pull request #10217 from benlangmuir/fix-modules-build-stable
Fix build with -DLLVM_ENABLE_MODULES=1
2 parents 75ac807 + cc0d3fb commit 60e6635

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

Diff for: clang/include/clang/Tooling/Inclusions/StandardLibrary.h

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include "llvm/Support/raw_ostream.h"
2222
#include <optional>
2323
#include <string>
24+
#include <vector>
2425

2526
namespace clang {
2627
class Decl;

Diff for: llvm/include/llvm/Analysis/SyntheticCountsUtils.h

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include "llvm/ADT/STLFunctionalExtras.h"
1717
#include "llvm/Analysis/CallGraph.h"
1818
#include "llvm/Support/ScaledNumber.h"
19+
#include <vector>
1920

2021
namespace llvm {
2122

Diff for: llvm/include/llvm/Transforms/InstCombine/InstCombiner.h

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#ifndef LLVM_TRANSFORMS_INSTCOMBINE_INSTCOMBINER_H
1919
#define LLVM_TRANSFORMS_INSTCOMBINE_INSTCOMBINER_H
2020

21+
#include "llvm/ADT/PostOrderIterator.h"
2122
#include "llvm/Analysis/DomConditionCache.h"
2223
#include "llvm/Analysis/InstructionSimplify.h"
2324
#include "llvm/Analysis/TargetFolder.h"

0 commit comments

Comments
 (0)