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:
2ceb60a
)
Make the kind actually be private.
author
Chris Lattner
<sabre@nondot.org>
Sun, 26 Jul 2009 06:51:27 +0000
(06:51 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 26 Jul 2009 06:51:27 +0000
(06:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77139
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Target/TargetAsmInfo.h
patch
|
blob
|
history
diff --git
a/include/llvm/Target/TargetAsmInfo.h
b/include/llvm/Target/TargetAsmInfo.h
index 89cb5ae692deda1572d1e49350303e91055c4b73..dc5d9419429da6488ef80f56f53d98b7c887eb01 100644
(file)
--- a/
include/llvm/Target/TargetAsmInfo.h
+++ b/
include/llvm/Target/TargetAsmInfo.h
@@
-124,10
+124,10
@@
namespace llvm {
};
-
//
private:
- Kind K : 8;
// This is private.
+ private:
+ Kind K : 8;
-
//
public:
+ public:
bool isText() const {
return K == Text;
@@
-183,7
+183,8
@@
namespace llvm {
}
static SectionKind get(Kind K) {
- SectionKind Res = { K };
+ SectionKind Res;
+ Res.K = K;
return Res;
}
};