projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1ccfb3
)
Unbreak C++03 build.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Thu, 19 Sep 2013 21:30:00 +0000
(21:30 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Thu, 19 Sep 2013 21:30:00 +0000
(21:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191039
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/Dwarf.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/Dwarf.h
b/include/llvm/Support/Dwarf.h
index 9f969728cfec9d010dc4341bb0af3f7dfba29d87..20c2200a7145c2e94655a498de96b13cc2e770b8 100644
(file)
--- a/
include/llvm/Support/Dwarf.h
+++ b/
include/llvm/Support/Dwarf.h
@@
-829,10
+829,12
@@
struct PubIndexEntryDescriptor {
return Kind << KIND_OFFSET | Static << STATIC_OFFSET;
}
private:
- const uint8_t KIND_OFFSET = 4;
- const uint8_t KIND_MASK = 7 << KIND_OFFSET;
- const uint8_t STATIC_OFFSET = 7;
- const uint8_t STATIC_MASK = 1 << STATIC_OFFSET;
+ enum {
+ KIND_OFFSET = 4,
+ KIND_MASK = 7 << KIND_OFFSET,
+ STATIC_OFFSET = 7,
+ STATIC_MASK = 1 << STATIC_OFFSET
+ };
};
} // End of namespace dwarf