forked from swiftlang/swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
llvm.patch
25 lines (25 loc) · 1.11 KB
/
llvm.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
diff --git a/include/llvm/Support/AlignOf.h b/include/llvm/Support/AlignOf.h
index 5268c8d..b371e93 100644
--- a/include/llvm/Support/AlignOf.h
+++ b/include/llvm/Support/AlignOf.h
@@ -79,7 +79,7 @@ struct AlignOf {
sizeof(detail::AlignmentCalcImpl<T>) - sizeof(T));
#else
enum {
- Alignment = static_cast<unsigned int>(sizeof(detail::AlignmentCalcImpl<T>) -
+ Alignment = static_cast<unsigned int>(sizeof(llvm::detail::AlignmentCalcImpl<T>) -
sizeof(T))
};
#endif
@@ -249,9 +249,9 @@ template <typename T1,
typename T5 = char, typename T6 = char, typename T7 = char,
typename T8 = char, typename T9 = char, typename T10 = char>
struct AlignedCharArrayUnion : llvm::AlignedCharArray<
- AlignOf<detail::AlignerImpl<T1, T2, T3, T4, T5,
+ AlignOf<llvm::detail::AlignerImpl<T1, T2, T3, T4, T5,
T6, T7, T8, T9, T10> >::Alignment,
- sizeof(detail::SizerImpl<T1, T2, T3, T4, T5,
+ sizeof(llvm::detail::SizerImpl<T1, T2, T3, T4, T5,
T6, T7, T8, T9, T10>)> {
};
} // end namespace llvm