projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d53ab70
)
Declare GlobalValue::LinkageTypes based on unsigned.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Sun, 24 Apr 2016 10:11:45 +0000
(10:11 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Sun, 24 Apr 2016 10:11:45 +0000
(10:11 +0000)
Or, "LinkageTypes Linkage : 4;" might be sign-extended on msc.
llvm-svn: 267335
llvm/include/llvm/IR/GlobalValue.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/IR/GlobalValue.h
b/llvm/include/llvm/IR/GlobalValue.h
index
0d12fe8
..
25e5ba1
100644
(file)
--- a/
llvm/include/llvm/IR/GlobalValue.h
+++ b/
llvm/include/llvm/IR/GlobalValue.h
@@
-37,7
+37,7
@@
class GlobalValue : public Constant {
GlobalValue(const GlobalValue &) = delete;
public:
/// @brief An enumeration for the kinds of linkage for global values.
- enum LinkageTypes {
+ enum LinkageTypes
: unsigned
{
ExternalLinkage = 0,///< Externally visible function
AvailableExternallyLinkage, ///< Available for inspection, not emission.
LinkOnceAnyLinkage, ///< Keep one copy of function when linking (inline)