[llvm-commits] [125326] fix in 80 cols
clattner at apple.com
clattner at apple.com
Sat Mar 24 18:47:34 PDT 2007
Revision: 125326
Author: clattner
Date: 2007-03-24 18:47:34 -0700 (Sat, 24 Mar 2007)
Log Message:
-----------
fix in 80 cols
Modified Paths:
--------------
apple-local/branches/llvm/gcc/llvm-types.cpp
Modified: apple-local/branches/llvm/gcc/llvm-types.cpp
===================================================================
--- apple-local/branches/llvm/gcc/llvm-types.cpp 2007-03-25 01:30:48 UTC (rev 125325)
+++ apple-local/branches/llvm/gcc/llvm-types.cpp 2007-03-25 01:47:34 UTC (rev 125326)
@@ -66,7 +66,8 @@
// GET_TYPE_LLVM/SET_TYPE_LLVM - Associate an LLVM type with each TREE type.
// These are lazily computed by ConvertType.
-#define SET_TYPE_SYMTAB_LLVM(NODE, index) (TYPE_CHECK (NODE)->type.symtab.llvm = index)
+#define SET_TYPE_SYMTAB_LLVM(NODE, index) \
+ (TYPE_CHECK (NODE)->type.symtab.llvm = index)
// Note down LLVM type for GCC tree node.
static const Type * llvm_set_type(tree Tr, const Type *Ty) {
@@ -139,7 +140,8 @@
LTypes.push_back(Ty);
}
- // Now, llvm.pch.types value is not required so remove it from the symbol table.
+ // Now, llvm.pch.types value is not required so remove it from the symbol
+ // table.
GV->eraseFromParent();
}
@@ -169,8 +171,9 @@
// Give names to nameless types.
if (Ty && TypeNameMap[Ty].empty()) {
- std::string NewName = TheModule->getTypeSymbolTable().getUniqueName("llvm.fe.ty");
- TheModule->addTypeName (NewName, Ty);
+ std::string NewName =
+ TheModule->getTypeSymbolTable().getUniqueName("llvm.fe.ty");
+ TheModule->addTypeName(NewName, Ty);
TypeNameMap[*I] = NewName;
}
More information about the llvm-commits
mailing list