diff options
author | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2018-01-03 10:40:11 +0000 |
---|---|---|
committer | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2018-01-03 10:40:11 +0000 |
commit | 4c55cf6ca1c4b526e30b7be7db681e546e16b3cc (patch) | |
tree | b5497ac605f1d04968026c8d539ee903de1ed4ed | |
parent | cffa682f10cbaebd37cd6999c4374444a669b27d (diff) |
Fix more line endings.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@321701 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang-c/Index.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h index 2ea801913f..a0c4dc98ad 100644 --- a/include/clang-c/Index.h +++ b/include/clang-c/Index.h @@ -29,13 +29,13 @@ * CINDEX_VERSION_MAJOR is intended for "major" source/ABI breaking changes. * * The policy about the libclang API was always to keep it source and ABI - * compatible, thus CINDEX_VERSION_MAJOR is expected to remain stable.
- */
-#define CINDEX_VERSION_MAJOR 0
-#define CINDEX_VERSION_MINOR 46
-
-#define CINDEX_VERSION_ENCODE(major, minor) ( \
- ((major) * 10000) \
+ * compatible, thus CINDEX_VERSION_MAJOR is expected to remain stable. + */ +#define CINDEX_VERSION_MAJOR 0 +#define CINDEX_VERSION_MINOR 46 + +#define CINDEX_VERSION_ENCODE(major, minor) ( \ + ((major) * 10000) \ + ((minor) * 1)) #define CINDEX_VERSION CINDEX_VERSION_ENCODE( \ @@ -2638,22 +2638,22 @@ CINDEX_LINKAGE enum CXCursorKind clang_getCursorKind(CXCursor); /** * \brief Determine whether the given cursor kind represents a declaration. - */
-CINDEX_LINKAGE unsigned clang_isDeclaration(enum CXCursorKind);
-
-/**
- * \brief Determine whether the given declaration is invalid.
- *
- * A declaration is invalid if it could not be parsed successfully.
- *
- * \returns non-zero if the cursor represents a declaration and it is
- * invalid, otherwise NULL.
- */
-CINDEX_LINKAGE unsigned clang_isInvalidDeclaration(CXCursor);
-
-/**
- * \brief Determine whether the given cursor kind represents a simple
- * reference.
+ */ +CINDEX_LINKAGE unsigned clang_isDeclaration(enum CXCursorKind); + +/** + * \brief Determine whether the given declaration is invalid. + * + * A declaration is invalid if it could not be parsed successfully. + * + * \returns non-zero if the cursor represents a declaration and it is + * invalid, otherwise NULL. + */ +CINDEX_LINKAGE unsigned clang_isInvalidDeclaration(CXCursor); + +/** + * \brief Determine whether the given cursor kind represents a simple + * reference. * * Note that other kinds of cursors (such as expressions) can also refer to * other cursors. Use clang_getCursorReferenced() to determine whether a |