diff options
Diffstat (limited to 'llvm/tools/llvm-upgrade/ParserInternals.h')
| -rw-r--r-- | llvm/tools/llvm-upgrade/ParserInternals.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/tools/llvm-upgrade/ParserInternals.h b/llvm/tools/llvm-upgrade/ParserInternals.h index fb884fa6a03..df9d2a80f37 100644 --- a/llvm/tools/llvm-upgrade/ParserInternals.h +++ b/llvm/tools/llvm-upgrade/ParserInternals.h @@ -56,9 +56,12 @@ enum Types { struct TypeInfo { std::string* newTy; Types oldTy; + Types elemTy; void destroy() const { delete newTy; } + Types getElementType() const { return elemTy; } + bool isSigned() const { return oldTy == SByteTy || oldTy == ShortTy || oldTy == IntTy || oldTy == LongTy; |

