r201512 - Fix gcc warning about C++ style comments.

Patrik Hagglund patrik.h.hagglund at ericsson.com
Mon Feb 17 03:54:08 PST 2014


Author: patha
Date: Mon Feb 17 05:54:08 2014
New Revision: 201512

URL: http://llvm.org/viewvc/llvm-project?rev=201512&view=rev
Log:
Fix gcc warning about C++ style comments.

Modified:
    cfe/trunk/include/clang-c/BuildSystem.h
    cfe/trunk/tools/c-index-test/c-index-test.c

Modified: cfe/trunk/include/clang-c/BuildSystem.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang-c/BuildSystem.h?rev=201512&r1=201511&r2=201512&view=diff
==============================================================================
--- cfe/trunk/include/clang-c/BuildSystem.h (original)
+++ cfe/trunk/include/clang-c/BuildSystem.h Mon Feb 17 05:54:08 2014
@@ -40,5 +40,5 @@ CINDEX_LINKAGE unsigned long long clang_
 }
 #endif
 
-#endif // CLANG_BUILD_SYSTEM_H
+#endif /* CLANG_BUILD_SYSTEM_H */
 

Modified: cfe/trunk/tools/c-index-test/c-index-test.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/c-index-test/c-index-test.c?rev=201512&r1=201511&r2=201512&view=diff
==============================================================================
--- cfe/trunk/tools/c-index-test/c-index-test.c (original)
+++ cfe/trunk/tools/c-index-test/c-index-test.c Mon Feb 17 05:54:08 2014
@@ -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) {





More information about the cfe-commits mailing list