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:
c3d3f0c
)
Fix MSVC warning about missing return in DataLayout
author
Reid Kleckner
<reid@kleckner.net>
Fri, 3 Jan 2014 23:51:09 +0000
(23:51 +0000)
committer
Reid Kleckner
<reid@kleckner.net>
Fri, 3 Jan 2014 23:51:09 +0000
(23:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198465
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/IR/DataLayout.h
patch
|
blob
|
history
diff --git
a/include/llvm/IR/DataLayout.h
b/include/llvm/IR/DataLayout.h
index
520d4ed
..
9ffa056
100644
(file)
--- a/
include/llvm/IR/DataLayout.h
+++ b/
include/llvm/IR/DataLayout.h
@@
-257,6
+257,7
@@
public:
case MM_COFF:
return '_';
}
+ llvm_unreachable("invalid mangling mode");
}
const char *getPrivateGlobalPrefix() const {
@@
-271,6
+272,7
@@
public:
case MM_COFF:
return "L";
}
+ llvm_unreachable("invalid mangling mode");
}
static const char *getManglingComponent(const Triple &T);