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:
5527c0b
)
quish a warning
author
Chris Lattner
<sabre@nondot.org>
Fri, 20 Aug 2004 18:07:39 +0000
(18:07 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 20 Aug 2004 18:07:39 +0000
(18:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15954
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/AsmParser/llvmAsmParser.y
patch
|
blob
|
history
diff --git
a/lib/AsmParser/llvmAsmParser.y
b/lib/AsmParser/llvmAsmParser.y
index
1a4ad32
..
a2ebd19
100644
(file)
--- a/
lib/AsmParser/llvmAsmParser.y
+++ b/
lib/AsmParser/llvmAsmParser.y
@@
-1370,7
+1370,7
@@
ConstExpr: CAST '(' ConstVal TO Types ')' {
if (!isa<PointerType>($3->getType())) {
$$ = ConstantExpr::get($1, $3, $5);
} else {
- const Type *IntPtrTy;
+ const Type *IntPtrTy
= 0
;
switch (CurModule.CurrentModule->getPointerSize()) {
case Module::Pointer32: IntPtrTy = Type::IntTy; break;
case Module::Pointer64: IntPtrTy = Type::LongTy; break;