[clang-tools-extra] r189834 - Ran clang-format.

Eli Friedman eli.friedman at gmail.com
Tue Sep 3 17:22:47 PDT 2013


Err, nevermind, you already reverted; please ignore me.


On Tue, Sep 3, 2013 at 5:22 PM, Eli Friedman <eli.friedman at gmail.com> wrote:

> This commit broke tests; please fix or revert.
>
> -Eli
>
>
> On Tue, Sep 3, 2013 at 11:21 AM, John Thompson <
> John.Thompson.JTSoftware at gmail.com> wrote:
>
>> Author: jtsoftware
>> Date: Tue Sep  3 13:21:22 2013
>> New Revision: 189834
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=189834&view=rev
>> Log:
>> Ran clang-format.
>>
>> Modified:
>>     clang-tools-extra/trunk/test/modularize/Inputs/InconsistentSubHeader.h
>>     clang-tools-extra/trunk/test/modularize/Inputs/NamespaceClasses.h
>>     clang-tools-extra/trunk/test/modularize/Inputs/SomeDecls.h
>>     clang-tools-extra/trunk/test/modularize/Inputs/TemplateClasses.h
>>
>> Modified:
>> clang-tools-extra/trunk/test/modularize/Inputs/InconsistentSubHeader.h
>> URL:
>> http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/modularize/Inputs/InconsistentSubHeader.h?rev=189834&r1=189833&r2=189834&view=diff
>>
>> ==============================================================================
>> ---
>> clang-tools-extra/trunk/test/modularize/Inputs/InconsistentSubHeader.h
>> (original)
>> +++
>> clang-tools-extra/trunk/test/modularize/Inputs/InconsistentSubHeader.h Tue
>> Sep  3 13:21:22 2013
>> @@ -1,11 +1,11 @@
>>  // Set up so TypeInt only defined during InconsistentHeader1.h include.
>>  #ifdef SYMBOL1
>>  #define SYMBOL 1
>> -#define FUNC_STYLE(a, b) a||b
>> +#define FUNC_STYLE(a, b) a || b
>>  #endif
>>  #ifdef SYMBOL2
>>  #define SYMBOL 2
>> -#define FUNC_STYLE(a, b) a&&b
>> +#define FUNC_STYLE(a, b) a &&b
>>  #endif
>>
>>  #if SYMBOL == 1
>>
>> Modified:
>> clang-tools-extra/trunk/test/modularize/Inputs/NamespaceClasses.h
>> URL:
>> http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/modularize/Inputs/NamespaceClasses.h?rev=189834&r1=189833&r2=189834&view=diff
>>
>> ==============================================================================
>> --- clang-tools-extra/trunk/test/modularize/Inputs/NamespaceClasses.h
>> (original)
>> +++ clang-tools-extra/trunk/test/modularize/Inputs/NamespaceClasses.h Tue
>> Sep  3 13:21:22 2013
>> @@ -1,20 +1,21 @@
>>  // Define same class name in different namespaces.
>>
>>  namespace Namespace1 {
>> -  class NamespaceClass {
>> -  public:
>> -    NamespaceClass() : Member(0) {}
>> -  private:
>> -    int Member;
>> -  };
>> +class NamespaceClass {
>> +public:
>> +  NamespaceClass() : Member(0) {}
>> +
>> +private:
>> +  int Member;
>> +};
>>  }
>>
>>  namespace Namespace2 {
>> -  class NamespaceClass {
>> -  public:
>> -    NamespaceClass() : Member(0) {}
>> -  private:
>> -    int Member;
>> -  };
>> -}
>> +class NamespaceClass {
>> +public:
>> +  NamespaceClass() : Member(0) {}
>>
>> +private:
>> +  int Member;
>> +};
>> +}
>>
>> Modified: clang-tools-extra/trunk/test/modularize/Inputs/SomeDecls.h
>> URL:
>> http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/modularize/Inputs/SomeDecls.h?rev=189834&r1=189833&r2=189834&view=diff
>>
>> ==============================================================================
>> --- clang-tools-extra/trunk/test/modularize/Inputs/SomeDecls.h (original)
>> +++ clang-tools-extra/trunk/test/modularize/Inputs/SomeDecls.h Tue Sep  3
>> 13:21:22 2013
>> @@ -8,9 +8,9 @@ void FuncOverload(int arg) {}
>>  void FuncOverload(char *arg) {}
>>
>>  namespace Namespace1 {
>> -  void FuncNameSpace() {}
>> +void FuncNameSpace() {}
>>  }
>>
>>  namespace Namespace2 {
>> -  void FuncNameSpace() {}
>> +void FuncNameSpace() {}
>>  }
>>
>> Modified: clang-tools-extra/trunk/test/modularize/Inputs/TemplateClasses.h
>> URL:
>> http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/modularize/Inputs/TemplateClasses.h?rev=189834&r1=189833&r2=189834&view=diff
>>
>> ==============================================================================
>> --- clang-tools-extra/trunk/test/modularize/Inputs/TemplateClasses.h
>> (original)
>> +++ clang-tools-extra/trunk/test/modularize/Inputs/TemplateClasses.h Tue
>> Sep  3 13:21:22 2013
>> @@ -1,15 +1,16 @@
>>  // Exercise some template issues.  Should not produce errors.
>>
>>  // Forward declaration.
>> -template<class T> class TemplateClass;
>> +template <class T> class TemplateClass;
>>
>>  // Full declaration.
>> -template<class T>class TemplateClass {
>> +template <class T> class TemplateClass {
>>  public:
>>    TemplateClass() {}
>> +
>>  private:
>>    T Member;
>>  };
>>
>>  // Template alias.
>> -template<class T> using TemplateClassAlias = TemplateClass<T>;
>> +template <class T> using TemplateClassAlias = TemplateClass<T>;
>>
>>
>> _______________________________________________
>> 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/20130903/1b4da627/attachment.html>


More information about the cfe-commits mailing list