[clang] acbb365 - [AST][NFC] Silence GCC warning about multiline comments
Thomas Preud'homme via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 7 09:11:51 PST 2021
Author: Thomas Preud'homme
Date: 2021-01-07T17:11:49Z
New Revision: acbb3652931a735a861b756075b1cc86fd041761
URL: https://github.com/llvm/llvm-project/commit/acbb3652931a735a861b756075b1cc86fd041761
DIFF: https://github.com/llvm/llvm-project/commit/acbb3652931a735a861b756075b1cc86fd041761.diff
LOG: [AST][NFC] Silence GCC warning about multiline comments
Remove continuation line in code snippet to prevent GCC warning about
multiline comments (-Wcomment) when building a project using libclang
with GCC.
Reviewed By: rjmccall
Differential Revision: https://reviews.llvm.org/D92409
Added:
Modified:
clang/include/clang/AST/DeclOpenMP.h
Removed:
################################################################################
diff --git a/clang/include/clang/AST/DeclOpenMP.h b/clang/include/clang/AST/DeclOpenMP.h
index e595ec98d914c..4aa5bde92e123 100644
--- a/clang/include/clang/AST/DeclOpenMP.h
+++ b/clang/include/clang/AST/DeclOpenMP.h
@@ -163,7 +163,7 @@ class OMPThreadPrivateDecl final : public OMPDeclarativeDirective<Decl> {
/// 'float':
///
/// \code
-/// #pragma omp declare reduction (foo : int,float : omp_out += omp_in) \
+/// #pragma omp declare reduction (foo : int,float : omp_out += omp_in)
/// initializer (omp_priv = 0)
/// \endcode
///
More information about the cfe-commits
mailing list