r202108 - Fix typos
David Blaikie
dblaikie at gmail.com
Mon Feb 24 22:05:13 PST 2014
On Mon, Feb 24, 2014 at 8:21 PM, Alp Toker <alp at nuanti.com> wrote:
> Author: alp
> Date: Mon Feb 24 22:21:44 2014
> New Revision: 202108
>
> URL: http://llvm.org/viewvc/llvm-project?rev=202108&view=rev
> Log:
> Fix typos
>
> Modified:
> cfe/trunk/docs/AttributeReference.rst
> cfe/trunk/include/clang/Basic/AttrDocs.td
> cfe/trunk/include/clang/Basic/SourceLocation.h
> cfe/trunk/include/clang/Basic/VirtualFileSystem.h
> cfe/trunk/include/clang/Sema/DeclSpec.h
> cfe/trunk/lib/Driver/ToolChains.cpp
>
> Modified: cfe/trunk/docs/AttributeReference.rst
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/AttributeReference.rst?rev=202108&r1=202107&r2=202108&view=diff
>
> ==============================================================================
> --- cfe/trunk/docs/AttributeReference.rst (original)
> +++ cfe/trunk/docs/AttributeReference.rst Mon Feb 24 22:21:44 2014
> @@ -643,7 +643,7 @@ try_acquire_capability (try_acquire_shar
>
> "X","X","",""
>
> -Marks a function that attemps to aquire a capability. This function may
> fail to
> +Marks a function that attemps to acquire a capability. This function may
> fail to
> actually acquire the capability; they accept a Boolean value determining
> whether acquiring the capability means success (true), or failing to
> acquire
> the capability means success (false).
>
> Modified: cfe/trunk/include/clang/Basic/AttrDocs.td
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/AttrDocs.td?rev=202108&r1=202107&r2=202108&view=diff
>
> ==============================================================================
> --- cfe/trunk/include/clang/Basic/AttrDocs.td (original)
> +++ cfe/trunk/include/clang/Basic/AttrDocs.td Mon Feb 24 22:21:44 2014
> @@ -98,7 +98,7 @@ def TryAcquireCapabilityDocs : Documenta
> let Category = DocCatFunction;
> let Heading = "try_acquire_capability (try_acquire_shared_capability,
> clang::try_acquire_capability, clang::try_acquire_shared_capability)";
> let Content = [{
> -Marks a function that attemps to aquire a capability. This function may
> fail to
> +Marks a function that attemps to acquire a capability. This function may
> fail to
>
While you're here - "attemps" -> "attempts" ?
> actually acquire the capability; they accept a Boolean value determining
> whether acquiring the capability means success (true), or failing to
> acquire
> the capability means success (false).
>
> Modified: cfe/trunk/include/clang/Basic/SourceLocation.h
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/SourceLocation.h?rev=202108&r1=202107&r2=202108&view=diff
>
> ==============================================================================
> --- cfe/trunk/include/clang/Basic/SourceLocation.h (original)
> +++ cfe/trunk/include/clang/Basic/SourceLocation.h Mon Feb 24 22:21:44 2014
> @@ -188,7 +188,7 @@ inline bool operator<(const SourceLocati
> return LHS.getRawEncoding() < RHS.getRawEncoding();
> }
>
> -/// \brief A trival tuple used to represent a source range.
> +/// \brief A trivial tuple used to represent a source range.
> class SourceRange {
> SourceLocation B;
> SourceLocation E;
>
> Modified: cfe/trunk/include/clang/Basic/VirtualFileSystem.h
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/VirtualFileSystem.h?rev=202108&r1=202107&r2=202108&view=diff
>
> ==============================================================================
> --- cfe/trunk/include/clang/Basic/VirtualFileSystem.h (original)
> +++ cfe/trunk/include/clang/Basic/VirtualFileSystem.h Mon Feb 24 22:21:44
> 2014
> @@ -126,7 +126,7 @@ IntrusiveRefCntPtr<FileSystem> getRealFi
> /// \brief A file system that allows overlaying one \p AbstractFileSystem
> on top
> /// of another.
> ///
> -/// Consists of a stack of >=1 \p FileSytem objects, which are treated as
> being
> +/// Consists of a stack of >=1 \p FileSystem objects, which are treated
> as being
> /// one merged file system. When there is a directory that exists in more
> than
> /// one file system, the \p OverlayFileSystem contains a directory
> containing
> /// the union of their contents. The attributes (permissions, etc.) of
> the
>
> Modified: cfe/trunk/include/clang/Sema/DeclSpec.h
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/DeclSpec.h?rev=202108&r1=202107&r2=202108&view=diff
>
> ==============================================================================
> --- cfe/trunk/include/clang/Sema/DeclSpec.h (original)
> +++ cfe/trunk/include/clang/Sema/DeclSpec.h Mon Feb 24 22:21:44 2014
> @@ -831,8 +831,8 @@ private:
>
> // NOTE: VC++ treats enums as signed, avoid using
> ObjCPropertyAttributeKind
> unsigned PropertyAttributes : 12;
> - IdentifierInfo *GetterName; // getter name of NULL if no getter
> - IdentifierInfo *SetterName; // setter name of NULL if no setter
> + IdentifierInfo *GetterName; // getter name or NULL if no getter
> + IdentifierInfo *SetterName; // setter name or NULL if no setter
> };
>
> /// \brief Represents a C++ unqualified-id that has been parsed.
>
> Modified: cfe/trunk/lib/Driver/ToolChains.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.cpp?rev=202108&r1=202107&r2=202108&view=diff
>
> ==============================================================================
> --- cfe/trunk/lib/Driver/ToolChains.cpp (original)
> +++ cfe/trunk/lib/Driver/ToolChains.cpp Mon Feb 24 22:21:44 2014
> @@ -1521,10 +1521,10 @@ bool Generic_GCC::GCCInstallationDetecto
>
> namespace {
> // Filter to remove Multilibs that don't exist as a suffix to Path
> -class FilterNonExistant : public MultilibSet::FilterCallback {
> +class FilterNonExistent : public MultilibSet::FilterCallback {
> std::string Base;
> public:
> - FilterNonExistant(std::string Base) : Base(Base) {}
> + FilterNonExistent(std::string Base) : Base(Base) {}
> bool operator()(const Multilib &M) const LLVM_OVERRIDE {
> return !llvm::sys::fs::exists(Base + M.gccSuffix() + "/crtbegin.o");
> }
> @@ -1624,7 +1624,7 @@ bool Generic_GCC::GCCInstallationDetecto
> // /usr
> // /lib <= crt*.o files compiled with '-mips32'
>
> - FilterNonExistant NonExistant(Path);
> + FilterNonExistent NonExistent(Path);
>
> // Check for FSF toolchain multilibs
> MultilibSet FSFMipsMultilibs;
> @@ -1710,7 +1710,7 @@ bool Generic_GCC::GCCInstallationDetecto
> .Maybe(Nan2008)
> .FilterOut(".*sof/nan2008")
> .FilterOut(".*sof/fp64")
> - .FilterOut(NonExistant);
> + .FilterOut(NonExistent);
> }
>
> // Check for Code Sourcery toolchain multilibs
> @@ -1767,12 +1767,12 @@ bool Generic_GCC::GCCInstallationDetecto
> .Maybe(MAbi64)
> .FilterOut("/mips16.*/64")
> .FilterOut("/micromips.*/64")
> - .FilterOut(NonExistant);
> + .FilterOut(NonExistent);
> }
>
> MultilibSet AndroidMipsMultilibs = MultilibSet()
> .Maybe(Multilib("/mips-r2").flag("+march=mips32r2"))
> - .FilterOut(NonExistant);
> + .FilterOut(NonExistent);
>
> MultilibSet DebianMipsMultilibs;
> {
> @@ -1791,7 +1791,7 @@ bool Generic_GCC::GCCInstallationDetecto
>
> DebianMipsMultilibs = MultilibSet()
> .Either(M32, M64, MAbiN32)
> - .FilterOut(NonExistant);
> + .FilterOut(NonExistent);
> }
>
> Multilibs.clear();
> @@ -1858,14 +1858,14 @@ bool Generic_GCC::GCCInstallationDetecto
> .includeSuffix("/32")
> .flag("+m32").flag("-m64");
>
> - FilterNonExistant NonExistant(Path);
> + FilterNonExistent NonExistent(Path);
>
> // Decide whether the default multilib is 32bit, correcting for
> // when the default multilib and the alternate appear backwards
> bool DefaultIs32Bit;
> - if (TargetTriple.isArch32Bit() && !NonExistant(Alt32))
> + if (TargetTriple.isArch32Bit() && !NonExistent(Alt32))
> DefaultIs32Bit = false;
> - else if (TargetTriple.isArch64Bit() && !NonExistant(Alt64))
> + else if (TargetTriple.isArch64Bit() && !NonExistent(Alt64))
> DefaultIs32Bit = true;
> else {
> if (NeedsBiarchSuffix)
> @@ -1883,7 +1883,7 @@ bool Generic_GCC::GCCInstallationDetecto
> Multilibs.push_back(Alt64);
> Multilibs.push_back(Alt32);
>
> - Multilibs.FilterOut(NonExistant);
> + Multilibs.FilterOut(NonExistent);
>
> Multilib::flags_list Flags;
> addMultilibFlag(TargetTriple.isArch64Bit(), "m64", Flags);
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140224/6be638a0/attachment.html>
More information about the cfe-commits
mailing list