From 9907f08e619aad20a6bdd1247fdef46520896840 Mon Sep 17 00:00:00 2001 From: Alp Toker Date: Wed, 9 Jul 2014 14:06:35 +0000 Subject: [PATCH] Fix 'source-level' hyphenations llvm-svn: 212621 --- clang/README.txt | 2 +- clang/include/clang/Driver/Options.td | 8 ++++---- clang/lib/CodeGen/CGDebugInfo.h | 2 +- clang/lib/CodeGen/TargetInfo.cpp | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/clang/README.txt b/clang/README.txt index 44ce723..474c67c 100644 --- a/clang/README.txt +++ b/clang/README.txt @@ -8,7 +8,7 @@ compiler infrastructure project. Unlike many other compiler frontends, Clang is useful for a number of things beyond just compiling code: we intend for Clang to be host to a number of -different source level tools. One example of this is the Clang Static Analyzer. +different source-level tools. One example of this is the Clang Static Analyzer. If you're interested in more (including how to build Clang) it is best to read the relevant web sites. Here are some pointers: diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td index d38477f..2b7fb71 100644 --- a/clang/include/clang/Driver/Options.td +++ b/clang/include/clang/Driver/Options.td @@ -925,7 +925,7 @@ def fdebug_types_section: Flag <["-"], "fdebug-types-section">, Group, def fno_debug_types_section: Flag<["-"], "fno-debug-types-section">, Group, Flags<[CC1Option]>; def g_Flag : Flag<["-"], "g">, Group, - HelpText<"Generate source level debug information">, Flags<[CC1Option,CC1AsOption]>; + HelpText<"Generate source-level debug information">, Flags<[CC1Option,CC1AsOption]>; def gline_tables_only : Flag<["-"], "gline-tables-only">, Group, HelpText<"Emit debug line number tables only">, Flags<[CC1Option]>; def gmlt : Flag<["-"], "gmlt">, Alias; @@ -939,11 +939,11 @@ def ggdb1 : Flag<["-"], "ggdb1">, Group; def ggdb2 : Flag<["-"], "ggdb2">, Group; def ggdb3 : Flag<["-"], "ggdb3">, Group; def gdwarf_2 : Flag<["-"], "gdwarf-2">, Group, - HelpText<"Generate source level debug information with dwarf version 2">, Flags<[CC1Option,CC1AsOption]>; + HelpText<"Generate source-level debug information with dwarf version 2">, Flags<[CC1Option,CC1AsOption]>; def gdwarf_3 : Flag<["-"], "gdwarf-3">, Group, - HelpText<"Generate source level debug information with dwarf version 3">, Flags<[CC1Option,CC1AsOption]>; + HelpText<"Generate source-level debug information with dwarf version 3">, Flags<[CC1Option,CC1AsOption]>; def gdwarf_4 : Flag<["-"], "gdwarf-4">, Group, - HelpText<"Generate source level debug information with dwarf version 4">, Flags<[CC1Option,CC1AsOption]>; + HelpText<"Generate source-level debug information with dwarf version 4">, Flags<[CC1Option,CC1AsOption]>; def gfull : Flag<["-"], "gfull">, Group; def gused : Flag<["-"], "gused">, Group; def gstabs : Joined<["-"], "gstabs">, Group, Flags<[Unsupported]>; diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h index 3c7efb9..fc3f434 100644 --- a/clang/lib/CodeGen/CGDebugInfo.h +++ b/clang/lib/CodeGen/CGDebugInfo.h @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// // -// This is the source level debug info generator for llvm translation. +// This is the source-level debug info generator for llvm translation. // //===----------------------------------------------------------------------===// diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp index a499acd..44e001c 100644 --- a/clang/lib/CodeGen/TargetInfo.cpp +++ b/clang/lib/CodeGen/TargetInfo.cpp @@ -2083,7 +2083,7 @@ GetSSETypeAtOffset(llvm::Type *IRType, unsigned IROffset, /// the source type. IROffset is an offset in bytes into the LLVM IR type that /// the 8-byte value references. PrefType may be null. /// -/// SourceTy is the source level type for the entire argument. SourceOffset is +/// SourceTy is the source-level type for the entire argument. SourceOffset is /// an offset into this that we're processing (which is always either 0 or 8). /// llvm::Type *X86_64ABIInfo:: -- 2.7.4