From: Nick Lewycky Date: Tue, 12 Oct 2010 16:46:35 +0000 (+0000) Subject: Replace \r\n with \n in this file. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=141ecfeeb54948159facce6aeb586e2f6c406f78;p=clang Replace \r\n with \n in this file. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116312 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Parser/MicrosoftExtensions.cpp b/test/Parser/MicrosoftExtensions.cpp index 9f64b3fe42..e55e74cb83 100644 --- a/test/Parser/MicrosoftExtensions.cpp +++ b/test/Parser/MicrosoftExtensions.cpp @@ -1,25 +1,25 @@ -// RUN: %clang_cc1 %s -fsyntax-only -Wmicrosoft -verify -fms-extensions - -/* Microsoft attribute tests */ -[repeatable][source_annotation_attribute( Parameter|ReturnValue )] -struct SA_Post{ SA_Post(); int attr; }; - -[returnvalue:SA_Post( attr=1)] -int foo1([SA_Post(attr=1)] void *param); - -namespace { - [returnvalue:SA_Post(attr=1)] - int foo2([SA_Post(attr=1)] void *param); -} - -class T { - [returnvalue:SA_Post(attr=1)] - int foo3([SA_Post(attr=1)] void *param); -}; - -extern "C" { - [returnvalue:SA_Post(attr=1)] - int foo5([SA_Post(attr=1)] void *param); -} - - +// RUN: %clang_cc1 %s -fsyntax-only -Wmicrosoft -verify -fms-extensions + +/* Microsoft attribute tests */ +[repeatable][source_annotation_attribute( Parameter|ReturnValue )] +struct SA_Post{ SA_Post(); int attr; }; + +[returnvalue:SA_Post( attr=1)] +int foo1([SA_Post(attr=1)] void *param); + +namespace { + [returnvalue:SA_Post(attr=1)] + int foo2([SA_Post(attr=1)] void *param); +} + +class T { + [returnvalue:SA_Post(attr=1)] + int foo3([SA_Post(attr=1)] void *param); +}; + +extern "C" { + [returnvalue:SA_Post(attr=1)] + int foo5([SA_Post(attr=1)] void *param); +} + +