On 25/02/2014 06:05, David Blaikie wrote:



On Mon, Feb 24, 2014 at 8:21 PM, Alp Toker <[email protected] <mailto:[email protected]>> 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" ?

Done, r202116 and r202112.

Alp.

     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
    [email protected] <mailto:[email protected]>
    http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



--
http://www.nuanti.com
the browser experts

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to