diff options
Diffstat (limited to 'tools/llvm-upgrade/ParserInternals.h')
-rw-r--r-- | tools/llvm-upgrade/ParserInternals.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/llvm-upgrade/ParserInternals.h b/tools/llvm-upgrade/ParserInternals.h index f85d069..fb884fa 100644 --- a/tools/llvm-upgrade/ParserInternals.h +++ b/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(); } }; |