[llvm] [LLVM][AsmParser] Add support for C style comments (PR #111554)
Rahul Joshi via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 31 14:54:51 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.
----------------
jurahul wrote:
Dropped nested comment support. I suspect at that point, TableGen did not support preprocessor macros, so made sense to support nested C style comments to enable commenting out code (?)
https://github.com/llvm/llvm-project/pull/111554
More information about the llvm-commits
mailing list