projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[opaque pointers] Avoid the use of pointee types when parsing inline asm in IR
[oota-llvm.git]
/
lib
/
AsmParser
/
LLParser.h
diff --git
a/lib/AsmParser/LLParser.h
b/lib/AsmParser/LLParser.h
index 7efcac7a19ae9e3fc3fcdcdcf8e9d84a75f8c263..6ef92c12b5205dcd5ec21318537df6a2308d7e35 100644
(file)
--- a/
lib/AsmParser/LLParser.h
+++ b/
lib/AsmParser/LLParser.h
@@
-52,13
+52,14
@@
namespace llvm {
t_Null, t_Undef, t_Zero, // No value.
t_EmptyArray, // No value: []
t_Constant, // Value in ConstantVal.
t_Null, t_Undef, t_Zero, // No value.
t_EmptyArray, // No value: []
t_Constant, // Value in ConstantVal.
- t_InlineAsm, // Value in StrVal/StrVal2/UIntVal.
+ t_InlineAsm, // Value in
FTy/
StrVal/StrVal2/UIntVal.
t_ConstantStruct, // Value in ConstantStructElts.
t_PackedConstantStruct // Value in ConstantStructElts.
} Kind;
LLLexer::LocTy Loc;
unsigned UIntVal;
t_ConstantStruct, // Value in ConstantStructElts.
t_PackedConstantStruct // Value in ConstantStructElts.
} Kind;
LLLexer::LocTy Loc;
unsigned UIntVal;
+ FunctionType *FTy;
std::string StrVal, StrVal2;
APSInt APSIntVal;
APFloat APFloatVal;
std::string StrVal, StrVal2;
APSInt APSIntVal;
APFloat APFloatVal;