[llvm-commits] Patch: fix some llvm-gcc typos and long lines
Bob Wilson
bob.wilson at apple.com
Tue Dec 16 09:52:51 PST 2008
Here is a patch to fix some comment typos and lines longer than 80
columns. I suppose these are obvious changes, but I'm new to LLVM so
I thought I should ask for a review before committing this. Is this OK?
Index: gcc/llvm-convert.cpp
===================================================================
--- gcc/llvm-convert.cpp (revision 61089)
+++ gcc/llvm-convert.cpp (working copy)
@@ -4411,8 +4411,8 @@
return false;
}
-/// TargetBuiltinCache - A cache of builtin intrisics indexed by the
GCC builtin
-/// number.
+/// TargetBuiltinCache - A cache of builtin intrinsics indexed by the
GCC
+/// builtin number.
static std::vector<Constant*> TargetBuiltinCache;
void clearTargetBuiltinCache() {
@@ -4509,7 +4509,8 @@
Intrinsic::getDeclaration(TheModule, IntrinsicID);
}
- Result = EmitCallOf(TargetBuiltinCache[FnCode], exp, DestLoc,
AttrListPtr());
+ Result = EmitCallOf(TargetBuiltinCache[FnCode], exp, DestLoc,
+ AttrListPtr());
return true;
}
Index: gcc/cppdefault.c
===================================================================
--- gcc/cppdefault.c (revision 61089)
+++ gcc/cppdefault.c (working copy)
@@ -44,8 +44,8 @@
#endif
/* APPLE LOCAL begin SDK 3886137. */
-/* Allow -isysroot to override ALL include patchs. This is done by
- setting add_sysroot for all default inclue paths. */
+/* Allow -isysroot to override ALL include paths. This is done by
+ setting add_sysroot for all default include paths. */
/* LLVM LOCAL begin - fix sysroot on non-Darwin systems */
#ifdef CONFIG_DARWIN_H
#define ADD_SYSROOT 1
More information about the llvm-commits
mailing list