OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
234aaf0
)
Make this an integer so we have enumeral types in the conditional
author
Eric Christopher
<echristo@gmail.com>
Sat, 5 Jan 2013 00:32:04 +0000
(
00:32
+0000)
committer
Eric Christopher
<echristo@gmail.com>
Sat, 5 Jan 2013 00:32:04 +0000
(
00:32
+0000)
expression.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171571
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Object/ELF.h
patch
|
blob
|
history
diff --git
a/include/llvm/Object/ELF.h
b/include/llvm/Object/ELF.h
index
38bd73a
..
56eb268
100644
(file)
--- a/
include/llvm/Object/ELF.h
+++ b/
include/llvm/Object/ELF.h
@@
-35,7
+35,7
@@
namespace object {
using support::endianness;
-template<typename T,
std::size_
t max_align>
+template<typename T,
in
t max_align>
struct MaximumAlignment {
enum {value = AlignOf<T>::Alignment > max_align ? max_align
: AlignOf<T>::Alignment};