diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-12 20:09:48 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-12 20:09:48 +0000 |
commit | 942101488114d8679dcdfa64937ebb00416fb34e (patch) | |
tree | 415c8e7b6431771022bc942dab5a914407657be8 /tools | |
parent | e24e0e1244dc273016e541948086a89ffce1f7e4 (diff) | |
download | external_llvm-942101488114d8679dcdfa64937ebb00416fb34e.zip external_llvm-942101488114d8679dcdfa64937ebb00416fb34e.tar.gz external_llvm-942101488114d8679dcdfa64937ebb00416fb34e.tar.bz2 |
Remove support for upgrading NOT. The llvm-upgrade lexer didn't recognize
it either. NOT is just plain illegal now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33139 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llvm-upgrade/UpgradeParser.y | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/llvm-upgrade/UpgradeParser.y b/tools/llvm-upgrade/UpgradeParser.y index f6338e7..b871b49 100644 --- a/tools/llvm-upgrade/UpgradeParser.y +++ b/tools/llvm-upgrade/UpgradeParser.y @@ -817,7 +817,7 @@ std::string getGlobalName(const std::string* Name, const std::string Linkage, %token <String> DECLARE GLOBAL CONSTANT SECTION VOLATILE %token <String> TO DOTDOTDOT CONST INTERNAL LINKONCE WEAK %token <String> DLLIMPORT DLLEXPORT EXTERN_WEAK APPENDING -%token <String> NOT EXTERNAL TARGET TRIPLE ENDIAN POINTERSIZE LITTLE BIG +%token <String> EXTERNAL TARGET TRIPLE ENDIAN POINTERSIZE LITTLE BIG %token <String> ALIGN UNINITIALIZED %token <String> DEPLIBS CALL TAIL ASM_TOK MODULE SIDEEFFECT %token <String> CC_TOK CCC_TOK CSRETCC_TOK FASTCC_TOK COLDCC_TOK @@ -1792,11 +1792,6 @@ InstVal : ArithmeticOps Types ValueRef ',' ValueRef { $$.type = TypeInfo::get("bool",BoolTy); delete $2; $4.destroy(); $6.destroy(); } - | NOT ResolvedVal { - $$ = $2; - $$.val->insert(0, *$1 + " "); - delete $1; - } | ShiftOps ResolvedVal ',' ResolvedVal { const char* shiftop = $1->c_str(); if (*$1 == "shr") |