diff options
author | John Thompson <John.Thompson.JTSoftware@gmail.com> | 2013-09-03 18:38:32 +0000 |
---|---|---|
committer | John Thompson <John.Thompson.JTSoftware@gmail.com> | 2013-09-03 18:38:32 +0000 |
commit | 0b7fc15e7035276e2f8a778ebe15f4cad9007c99 (patch) | |
tree | 75fb45caf204d647527ab41fd8183b762ea2df9e /clang-tools-extra/test/modularize | |
parent | a486a6f211fa3532644ec1c1b2a2846f96aad61d (diff) | |
download | bcm5719-llvm-0b7fc15e7035276e2f8a778ebe15f4cad9007c99.tar.gz bcm5719-llvm-0b7fc15e7035276e2f8a778ebe15f4cad9007c99.zip |
Undo r189834 - broke test.
llvm-svn: 189835
Diffstat (limited to 'clang-tools-extra/test/modularize')
4 files changed, 20 insertions, 22 deletions
diff --git a/clang-tools-extra/test/modularize/Inputs/InconsistentSubHeader.h b/clang-tools-extra/test/modularize/Inputs/InconsistentSubHeader.h index ab02b2504b8..f87ea655295 100644 --- a/clang-tools-extra/test/modularize/Inputs/InconsistentSubHeader.h +++ b/clang-tools-extra/test/modularize/Inputs/InconsistentSubHeader.h @@ -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 diff --git a/clang-tools-extra/test/modularize/Inputs/NamespaceClasses.h b/clang-tools-extra/test/modularize/Inputs/NamespaceClasses.h index 94167c4bab0..57e6091fd96 100644 --- a/clang-tools-extra/test/modularize/Inputs/NamespaceClasses.h +++ b/clang-tools-extra/test/modularize/Inputs/NamespaceClasses.h @@ -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; + }; } + diff --git a/clang-tools-extra/test/modularize/Inputs/SomeDecls.h b/clang-tools-extra/test/modularize/Inputs/SomeDecls.h index c3ec2fdcfe8..8892b650c18 100644 --- a/clang-tools-extra/test/modularize/Inputs/SomeDecls.h +++ b/clang-tools-extra/test/modularize/Inputs/SomeDecls.h @@ -8,9 +8,9 @@ void FuncOverload(int arg) {} void FuncOverload(char *arg) {} namespace Namespace1 { -void FuncNameSpace() {} + void FuncNameSpace() {} } namespace Namespace2 { -void FuncNameSpace() {} + void FuncNameSpace() {} } diff --git a/clang-tools-extra/test/modularize/Inputs/TemplateClasses.h b/clang-tools-extra/test/modularize/Inputs/TemplateClasses.h index e0b9402f641..3eab6d90091 100644 --- a/clang-tools-extra/test/modularize/Inputs/TemplateClasses.h +++ b/clang-tools-extra/test/modularize/Inputs/TemplateClasses.h @@ -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>; |