diff options
Diffstat (limited to 'llvm/tools/llvm-upgrade/ParserInternals.h')
| -rw-r--r-- | llvm/tools/llvm-upgrade/ParserInternals.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/tools/llvm-upgrade/ParserInternals.h b/llvm/tools/llvm-upgrade/ParserInternals.h index f85d069f3fe..fb884fa6a03 100644 --- a/llvm/tools/llvm-upgrade/ParserInternals.h +++ b/llvm/tools/llvm-upgrade/ParserInternals.h @@ -101,6 +101,8 @@ struct TypeInfo { struct ValueInfo { std::string* val; TypeInfo type; + bool constant; + bool isConstant() const { return constant; } void destroy() { delete val; type.destroy(); } }; |

