[llvm-commits] CVS: llvm/tools/llvm-upgrade/UpgradeParser.y
Reid Spencer
reid at x10sys.com
Fri Jan 12 12:10:04 PST 2007
Changes in directory llvm/tools/llvm-upgrade:
UpgradeParser.y updated: 1.36 -> 1.37
---
Log message:
Remove support for upgrading NOT. The llvm-upgrade lexer didn't recognize
it either. NOT is just plain illegal now.
---
Diffs of the changes: (+1 -6)
UpgradeParser.y | 7 +------
1 files changed, 1 insertion(+), 6 deletions(-)
Index: llvm/tools/llvm-upgrade/UpgradeParser.y
diff -u llvm/tools/llvm-upgrade/UpgradeParser.y:1.36 llvm/tools/llvm-upgrade/UpgradeParser.y:1.37
--- llvm/tools/llvm-upgrade/UpgradeParser.y:1.36 Sun Jan 7 02:07:10 2007
+++ llvm/tools/llvm-upgrade/UpgradeParser.y Fri Jan 12 14:09:48 2007
@@ -817,7 +817,7 @@
%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 @@
$$.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")
More information about the llvm-commits
mailing list