[PATCH] D92409: [AST][NFC] Silence GCC warning about multiline comments

Thomas Preud'homme via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 1 10:51:44 PST 2020


thopre added a comment.

In D92409#2426188 <https://reviews.llvm.org/D92409#2426188>, @rsmith wrote:

> Let's just disable this broken GCC warning. IIRC, the corresponding clang warning covers the actual bugs caused by line continuation in comments, and doesn't warn if the next line begins with a `//`.

Is there a way to disable it from the header? I've noticed this warning when compiling an application using libclang with g++. So I'm looking for a fix outside clang's build system which is not used in that case.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92409/new/

https://reviews.llvm.org/D92409



More information about the cfe-commits mailing list