[llvm-commits] Patch: fix some llvm-gcc typos and long lines
Dale Johannesen
dalej at apple.com
Tue Dec 16 09:57:45 PST 2008
On Dec 16, 2008, at 9:52 AMPST, Bob Wilson wrote:
> 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?
Sure.
> 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
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list