diff options
Diffstat (limited to 'llvm/tools/llvm-upgrade/UpgradeLexer.l.cvs')
| -rw-r--r-- | llvm/tools/llvm-upgrade/UpgradeLexer.l.cvs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-upgrade/UpgradeLexer.l.cvs b/llvm/tools/llvm-upgrade/UpgradeLexer.l.cvs index d9e5d0ebe39..5b575606ce1 100644 --- a/llvm/tools/llvm-upgrade/UpgradeLexer.l.cvs +++ b/llvm/tools/llvm-upgrade/UpgradeLexer.l.cvs @@ -26,7 +26,7 @@ %{ -#include "ParserInternals.h" +#include "UpgradeInternals.h" #include "UpgradeParser.h" #include <cctype> #include <cstdlib> @@ -48,7 +48,7 @@ return sym #define RET_TY(sym,OldTY,NewTY,sign) \ - Upgradelval.Type = new TypeInfo(NewTY, OldTY); \ + Upgradelval.Type = TypeInfo::get(NewTY, OldTY); \ return sym #define YY_NEVER_INTERACTIVE 1 |

