[clang-tools-extra] r189835 - Undo r189834 - broke test.
John Thompson
John.Thompson.JTSoftware at gmail.com
Tue Sep 3 11:38:32 PDT 2013
Author: jtsoftware
Date: Tue Sep 3 13:38:32 2013
New Revision: 189835
URL: http://llvm.org/viewvc/llvm-project?rev=189835&view=rev
Log:
Undo r189834 - broke test.
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=189835&r1=189834&r2=189835&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:38:32 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=189835&r1=189834&r2=189835&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:38:32 2013
@@ -1,21 +1,20 @@
// 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=189835&r1=189834&r2=189835&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:38:32 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=189835&r1=189834&r2=189835&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:38:32 2013
@@ -1,16 +1,15 @@
// 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>;
More information about the cfe-commits
mailing list