commit | 270d78a8d6fc66050f674fae91b23850ded95615 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Sep 20 15:20:24 2002 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Sep 20 15:20:24 2002 +0000 |
tree | 96ce4c994f13484f5ce30984e20e962dfae24170 | |
parent | 58d04d4e35d0744b7823636b4d7ff7c2421cb03a [diff] [blame] |
Fix output of typedefs to avoid syntax errors. * We now can correctly Cify the Olden-power benchmark git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3860 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index 469a3a8..7501a9b 100644 --- a/lib/Target/CBackend/CBackend.cpp +++ b/lib/Target/CBackend/CBackend.cpp
@@ -595,7 +595,7 @@ const Type *Ty = cast<Type>(I->second); string Name = "l_" + makeNameProper(I->first); Out << "typedef "; - printType(Ty, Name, true); + printType(Ty, Name); Out << ";\n"; }