From: Patrik Hagglund Date: Mon, 17 Feb 2014 11:54:08 +0000 (+0000) Subject: Fix gcc warning about C++ style comments. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e2fb94d6283456401d5154b9fb3d1c47b889b4a;p=clang Fix gcc warning about C++ style comments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201512 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang-c/BuildSystem.h b/include/clang-c/BuildSystem.h index 400ee6e0dd..42a3e44d7c 100644 --- a/include/clang-c/BuildSystem.h +++ b/include/clang-c/BuildSystem.h @@ -40,5 +40,5 @@ CINDEX_LINKAGE unsigned long long clang_getBuildSessionTimestamp(void); } #endif -#endif // CLANG_BUILD_SYSTEM_H +#endif /* CLANG_BUILD_SYSTEM_H */ diff --git a/tools/c-index-test/c-index-test.c b/tools/c-index-test/c-index-test.c index 8895371d55..3a47ae4bad 100644 --- a/tools/c-index-test/c-index-test.c +++ b/tools/c-index-test/c-index-test.c @@ -79,7 +79,7 @@ static unsigned getDefaultParsingOptions() { return options; } -/// \brief Returns 0 in case of success, non-zero in case of a failure. +/** \brief Returns 0 in case of success, non-zero in case of a failure. */ static int checkForErrors(CXTranslationUnit TU); static void describeLibclangFailure(enum CXErrorCode Err) {