diff options
author | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2018-01-03 10:33:21 +0000 |
---|---|---|
committer | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2018-01-03 10:33:21 +0000 |
commit | 1c27b15291126e4863ae34e524e278a8ef2d1c76 (patch) | |
tree | 1601bbaa6b2c14871bd131029c2ca2edebac26f9 /clang/tools/c-index-test/c-index-test.c | |
parent | dc5e081b93f9633d95aef7a3c62fb20170fd262f (diff) | |
download | bcm5719-llvm-1c27b15291126e4863ae34e524e278a8ef2d1c76.tar.gz bcm5719-llvm-1c27b15291126e4863ae34e524e278a8ef2d1c76.zip |
Fix line endings.
llvm-svn: 321700
Diffstat (limited to 'clang/tools/c-index-test/c-index-test.c')
-rw-r--r-- | clang/tools/c-index-test/c-index-test.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/clang/tools/c-index-test/c-index-test.c b/clang/tools/c-index-test/c-index-test.c index 7ff814b6d67..c5e345ef6af 100644 --- a/clang/tools/c-index-test/c-index-test.c +++ b/clang/tools/c-index-test/c-index-test.c @@ -809,14 +809,14 @@ static void PrintCursor(CXCursor Cursor, const char *CommentSchemaFile) { if (clang_EnumDecl_isScoped(Cursor)) printf(" (scoped)"); if (clang_Cursor_isVariadic(Cursor)) - printf(" (variadic)");
- if (clang_Cursor_isObjCOptional(Cursor))
- printf(" (@optional)");
- if (clang_isInvalidDeclaration(Cursor))
- printf(" (invalid)");
-
- switch (clang_getCursorExceptionSpecificationType(Cursor))
- {
+ printf(" (variadic)"); + if (clang_Cursor_isObjCOptional(Cursor)) + printf(" (@optional)"); + if (clang_isInvalidDeclaration(Cursor)) + printf(" (invalid)"); + + switch (clang_getCursorExceptionSpecificationType(Cursor)) + { case CXCursor_ExceptionSpecificationKind_None: break; |