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

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 31 11:49:46 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.
----------------
topperc wrote:

This concept appears to have been copied from TGLexer.cpp

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


More information about the llvm-commits mailing list