summaryrefslogtreecommitdiff
path: root/test/Parser/MicrosoftExtensions.cpp
diff options
context:
space:
mode:
authorJoao Matos <ripzonetriton@gmail.com>2012-08-31 22:18:20 +0000
committerJoao Matos <ripzonetriton@gmail.com>2012-08-31 22:18:20 +0000
commit17d35c36fbae764fcd68fa8b31624078a033aabc (patch)
treec7f4eba284b64b1ad1bb5bcf269d7354efdae818 /test/Parser/MicrosoftExtensions.cpp
parent7aaa167abba495ecb0e99eb4f2fa155cf28c798d (diff)
downloadclang-17d35c36fbae764fcd68fa8b31624078a033aabc.tar.gz
clang-17d35c36fbae764fcd68fa8b31624078a033aabc.tar.bz2
clang-17d35c36fbae764fcd68fa8b31624078a033aabc.tar.xz
Normalize line endings of r163013 (part 2).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163032 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Parser/MicrosoftExtensions.cpp')
-rw-r--r--test/Parser/MicrosoftExtensions.cpp88
1 files changed, 44 insertions, 44 deletions
diff --git a/test/Parser/MicrosoftExtensions.cpp b/test/Parser/MicrosoftExtensions.cpp
index d1e8866929..fd38dca194 100644
--- a/test/Parser/MicrosoftExtensions.cpp
+++ b/test/Parser/MicrosoftExtensions.cpp
@@ -171,27 +171,27 @@ void redundant_typename() {
int k = typename var;// expected-error {{expected a qualified name after 'typename'}}
}
-
-__interface MicrosoftInterface;
-__interface MicrosoftInterface {
- void foo1() = 0;
- virtual void foo2() = 0;
-};
-
-__interface MicrosoftDerivedInterface : public MicrosoftInterface {
- void foo1();
- void foo2() override;
- void foo3();
-};
-
-void interface_test() {
- MicrosoftInterface* a;
- a->foo1();
- MicrosoftDerivedInterface* b;
- b->foo2();
-}
-
-__int64 x7 = __int64(0);
+
+__interface MicrosoftInterface;
+__interface MicrosoftInterface {
+ void foo1() = 0;
+ virtual void foo2() = 0;
+};
+
+__interface MicrosoftDerivedInterface : public MicrosoftInterface {
+ void foo1();
+ void foo2() override;
+ void foo3();
+};
+
+void interface_test() {
+ MicrosoftInterface* a;
+ a->foo1();
+ MicrosoftDerivedInterface* b;
+ b->foo2();
+}
+
+__int64 x7 = __int64(0);
namespace If_exists_test {
@@ -238,29 +238,29 @@ __if_not_exists(IF_EXISTS::Type_not) {
int __if_exists_init_list() {
- int array1[] = {
- 0,
- __if_exists(IF_EXISTS::Type) {2, }
- 3
- };
-
- int array2[] = {
- 0,
- __if_exists(IF_EXISTS::Type_not) { this wont compile }
- 3
- };
-
- int array3[] = {
- 0,
- __if_not_exists(IF_EXISTS::Type_not) {2, }
- 3
- };
-
- int array4[] = {
- 0,
- __if_not_exists(IF_EXISTS::Type) { this wont compile }
- 3
- };
+ int array1[] = {
+ 0,
+ __if_exists(IF_EXISTS::Type) {2, }
+ 3
+ };
+
+ int array2[] = {
+ 0,
+ __if_exists(IF_EXISTS::Type_not) { this wont compile }
+ 3
+ };
+
+ int array3[] = {
+ 0,
+ __if_not_exists(IF_EXISTS::Type_not) {2, }
+ 3
+ };
+
+ int array4[] = {
+ 0,
+ __if_not_exists(IF_EXISTS::Type) { this wont compile }
+ 3
+ };
}