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

Jessica Clarke via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 31 11:57:42 PDT 2024


================
@@ -262,6 +274,38 @@ void LLLexer::SkipLineComment() {
   }
 }
 
+/// SkipCComment - This skips C-style /**/ comments.  The only difference from C
+/// is that we allow nesting.
----------------
jrtc27 wrote:

Interesting. Dates back to af282ae26e784d42b15ae3aff887f4f3769eddec, July 2003.

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


More information about the llvm-commits mailing list