[llvm] [LLVM][AsmParser] Add support for C style comments (PR #111554)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 1 12:34:32 PDT 2024


================
@@ -262,6 +267,28 @@ void LLLexer::SkipLineComment() {
   }
 }
 
+/// SkipCComment - This skips C-style /**/ comments. Returns true if there
----------------
nikic wrote:

```suggestion
/// This skips C-style /**/ comments. Returns true if there
```
Don't repeat function name in doc comments. (This is an old style that shouldn't be replicated.)

https://github.com/llvm/llvm-project/pull/111554


More information about the llvm-commits mailing list